Üzenetek megjelenítése

Ez a szekció lehetővé teszi a felhasználó által írt összes hozzászólás megtekintését. Vedd figyelembe, hogy csak azokba a fórumokba írt hozzászólásokat látod, amelyekhez hozzáférésed van.


Üzenetek - Gabor..

Oldalak: 1 ... 116 117 [118] 119 120 ... 126
1756
Szkript kérések / Mentõs munka
« Dátum: 2012. Március 06. - 15:27:59 »
Jólvan na XD Elírtam XD Am köszi, hogy szóltál. :)

1757
Szkript kérések / Mentõs munka
« Dátum: 2012. Március 06. - 14:08:12 »
Na, így már jó lesz! :)
 
#include <a_samp>
#include <zcmd>
#include <sscanf2>
new gTeam[MAX_PLAYERS];
#define TEAM_MEDICAL 1
 
forward Medicalmoney();
public Medicalmoney()
{
   for(new i=0; i<MAX_PLAYERS; i++)
    {
         if(gTeam == TEAM_MEDICAL)
         {
             GivePlayerMoney(i, 15000);
             SendClientMessage(i, 0x99FF00AA, \"[Mentõs Fizetés]: Megkaptad a fizetésed. 15000$-t!\");
         }
    }
   return 1;
}
public OnFilterScriptInit()
{
SetTimer(\"Medicalmoney\",360000, true);
return 1;
}
public OnPlayerSpawn(playerid)
{
   if(gTeam[playerid] == TEAM_MEDICAL)
   {
   SetPlayerPos(playerid, 1608.2279,1824.1215,10.8203);
   }
   return 1;
}
 
CMD:mento(playerid, params[])
{
   gTeam[playerid] = TEAM_MEDICAL;
   SetPlayerSkin(playerid, 274);
   SendClientMessage(playerid, 0xFF9900AA, \"Mostantól mentõsként dolgozol! Sok Sikert!\");
   return 1;
}
CMD:heal(playerid, params[])
{
   new
       string[64],
       Pid,
       name[MAX_PLAYER_NAME],
       Float:x, Float:y, Float:z;
   
   if(gTeam[playerid] == TEAM_MEDICAL)
   {
   if(sscanf(params, \"u\", Pid)) return SendClientMessage(playerid, 0xFF0000AA, \"Használat: /heal <ID/Játékosnév>\");
   GetPlayerPos(playerid, x, y, z);
   if(!IsPlayerInRangeOfPoint(Pid, 5.0, x,y,z)) return SendClientMessage(playerid, 0xFFFFFFAA, \"Nincs a közeledben a megadott játékos!\");
   
   SetPlayerHealth(Pid, 100);
   
   GetPlayerName(playerid,name,sizeof(name));
   format(string, sizeof(string), \"Feltöltötted %s életét!\", name, string);
   SendClientMessage(playerid, 0x33CCFFAA, string);
   }
   else
   {
   SendClientMessage(playerid, 0xFF0000AA, \"Nem vagy mentõs!\");
   }
   return 1;
}

1758
Szkript kérések / Mentõs munka
« Dátum: 2012. Március 06. - 13:49:47 »
#include <a_samp>
#include <zcmd>
#include <sscanf2>
new gTeam[MAX_PLAYERS];
#define TEAM_MEDICAL 1
 
forward Medicalmoney();
public Medicalmoney()
{
   for(new i=0; i<MAX_PLAYERS; i++)
    {
         if(gTeam == TEAM_MEDICAL)
         {
             GivePlayerMoney(i, 15000);
             SendClientMessage(i, 0x99FF00AA, \"[Mentõs Fizetés]: Megkaptad a fizetésed. 15000$-t!\");
         }
    }
   return 1;
}
public OnFilterScriptInit()
{
SetTimer(\"Medicalmoney\",360000, true);
return 1;
}
public OnPlayerSpawn(playerid)
{
   if(gTeam[playerid] == TEAM_MEDICAL)
   {
   SetPlayerPos(playerid, 1608.2279,1824.1215,10.8203);
   }
   return 1;
}
 
CMD:mento(playerid, params[])
{
   gTeam[playerid] = TEAM_MEDICAL;
   SetPlayerSkin(playerid, 274);
   SendClientMessage(playerid, 0xFF9900AA, \"Mostantól mentõsként dolgozol! Sok Sikert!\");
   return 1;
}
CMD:heal(playerid, params[])
{
   new
       string[64],
       Pid,
       name[MAX_PLAYER_NAME];
   
   if(gTeam[playerid] == TEAM_MEDICAL)
   {
   if(sscanf(params, \"u\", Pid)) return SendClientMessage(playerid, 0xFF0000AA, \"Használat: /heal <ID/Játékosnév>\");
   
   SetPlayerHealth(Pid, 100);
   
   GetPlayerName(playerid,name,sizeof(name));
   format(string, sizeof(string), \"Feltöltötted %s életét!\", name, string);
   SendClientMessage(playerid, 0x33CCFFAA, string);
   }
   else
   {
   SendClientMessage(playerid, 0xFF0000AA, \"Nem vagy mentõs!\");
   }
   return 1;
}

 Nem teszteltem! Ha nem megy, akkor szólj, és kijavítom.

1759
Kérdések, Segítség / [PROBLEM]Nem indul a játék! Help!
« Dátum: 2012. Március 05. - 20:10:06 »
Csá! Nekem is ilyen problémám van. Na ezt a GTA_SA_Mini-Image_HeKKiS-t nem találom googleba :D Pls linkelsz nekem egyet? Köszi! :)

1760
Beszélgetés / SAMP 0.3e ??:O
« Dátum: 2012. Március 05. - 20:03:22 »
Jaja, már kiadták az RC1-et  8)

1761
Szkript kérések / /kill
« Dátum: 2012. Március 04. - 08:15:08 »
CMD:kill(playerid, params[])
{
   new string[64];
   new aldozat;
   new ok;
   if(sscanf(params, \"us\", aldozat, ok)) return SendClientMessage(playerid,0xFF0000AA, \"Használat: /kill <ID/Játékosnév> <Oka>\");
   if(aldozat == INVALID_PLAYER_ID) return SendClientMessage(playerid, 0xFF0000AA, \"Rossz ID/Játékosnév\");
   SetPlayerHealth(aldozat, 0);
   GetPlayerName(aldozat, string, sizeof(string));
   format(string, sizeof(string),\" %s nevû játékos meghalt! Oka: %s\",aldozat , ok, string);
   SendClientMessageToAll( 0xFF0000AA, string);
   return 1;
}

 Nem teszteltem!

1762
Segítségkérés / List Dialog hiba
« Dátum: 2012. Március 04. - 07:57:42 »
Hát igaz, de nekem van egy olyan dialógom, ahol 1 az elsõ, és ugyanúgy megy.

1763
Segítségkérés / List Dialog hiba
« Dátum: 2012. Március 04. - 07:50:14 »
Igen, én erre gyanakszom.

1764
Segítségkérés / List Dialog hiba
« Dátum: 2012. Március 04. - 07:00:09 »
Így próbáld meg:
 
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
 
 
if(dialogid == sDialog)
{
if(response)
{
   if(listitem == 1)
   {
   SetPlayerSkin(playerid, 281);
   }
   if(listitem == 2)
   {
   SetPlayerSkin(playerid, 280);
   }
   if(listitem == 3)
   {
   SetPlayerSkin(playerid, 282);
   }
   if(listitem == 4)
   {
   SetPlayerSkin(playerid, 283);
   }
   if(listitem == 5)
   {
   SetPlayerSkin(playerid, 284);
   }
}
}
        return 1;
}

1765
Segítségkérés / MP3 zenék lejátszása
« Dátum: 2012. Március 03. - 20:13:18 »
Én nemtudom, lehet, hogy fellehet, én nemszoktam weboldalokra töltögetni. De mondom a beemp3.com a legegyszerûbbl.

1766
Fórum Archívum (Témák/Fórumok) / SAMP FuN MoD
« Dátum: 2012. Március 03. - 20:03:31 »
Hát kva nagy faiil XDDDD  :D :D :D

1767
Segítségkérés / MP3 zenék lejátszása
« Dátum: 2012. Március 03. - 19:50:33 »
Az nem jó link, olyan link kell, ami közvetlen rámutat a zene fájlra.

1768
Segítségkérés / MP3 zenék lejátszása
« Dátum: 2012. Március 03. - 18:57:22 »
Igen, csak weboldalról. A beemp3.com-on megtutod nézni a weboldalnak a címét, ahova felvan rakva a zene, csak bekell írnod a zene címét, és akkor rákattolsz a címére, és akkor bejön olyan jobb oldalon, hogy wait 20 second. Ha kész, akkor ottlesz egy link, ami .mp3 végzõdésû lesz.

1769
Segítségkérés / MP3 zenék lejátszása
« Dátum: 2012. Március 03. - 18:52:05 »
Hát akár atw-re is, de az a lényege, hogy az url-nek .mp3 végzõdésûnek kell lennie. De ajánlom figyelmedbe a www.beemp3.com -ot, ott sok zene van, és nemkell õket letölteni, se fel, ahhoz, hogy megtudd nézni az url-jét.

1770
Segítségkérés / MP3 zenék lejátszása
« Dátum: 2012. Március 03. - 18:44:53 »
Tessék!
 

#define Dialog_Music 100
CMD:music(playerid, params[])
{
    ShowPlayerDialog(playerid, Dialog_Music, DIALOG_STYLE_LIST,\"Zene\",\"DJ Antoine feat. The Beat Shakers - Ma Cherie\",\" Hallgat,\"Bezár\");
    return 1;
}
CMD:stopmusic(playerid, params[])
{
   StopAudioStreamForPlayer(playerid);
   return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
      if(dialogid == Dialog_Music)
      {
if(response)
{
   switch(listitem)
   {
      case 0:
      {
                  PlayAudioStreamForPlayer(playerid,\"http://s1.fans.ge/mp3/201108/24/DJ_Antoine_feat_The_Beat_Shakers-Ma_Cherie(fans_ge).mp3\"); // Így tovább bõvítheted
      }
                        }
                }
        }
        return 1;
}

Oldalak: 1 ... 116 117 [118] 119 120 ... 126
SimplePortal 2.3.7 © 2008-2024, SimplePortal