if (GetPlayerMoney(playerid) > 249){GivePlayerMoney(playerid, -250);// ide azt írd, hogy mi történik, ha megveszi(van rá pénze)! }
else SendClientMessage(playerid, szin, \"Nincs rá pénzed! ($250)\");
if (GetPlayerMoney(playerid) > 344){GivePlayerMoney(playerid, -345);bebaszik xD }
public OnPlayerText(playerid, text[]){new string[256];new sendername[MAX_PLAYER_NAME];GetPlayerName(playerid, sendername, sizeof(sendername));format(string, sizeof(string),\"%s mondja: %s\",sendername,text);ProxDetector(10.0, playerid, string, COLOR_GRAD3,COLOR_GRAD3,COLOR_GRAD3,COLOR_GRAD3,COLOR_GRAD3);return 0;}
public OnPlayerText(playerid, text[]){new string[128];new sendername[MAX_PLAYER_NAME];if (strfind(text, \"XD\", true) != -1) {GetPlayerName(playerid, sendername, sizeof(sendername));format(string, 128,\"* %s nevet.\",sendername);ProxDetector(10.0, playerid, string, COLOR_GRAD3,COLOR_GRAD3,COLOR_GRAD3,COLOR_GRAD3,COLOR_GRAD3);return 0;}GetPlayerName(playerid, sendername, sizeof(sendername));format(string, sizeof(string),\"%s mondja: %s\",sendername,text);ProxDetector(10.0, playerid, string, COLOR_GRAD3,COLOR_GRAD3,COLOR_GRAD3,COLOR_GRAD3,COLOR_GRAD3);return 0;}
if (strfind(text, \"/s\", true) != -1){GetPlayerName(playerid, sendername, sizeof(sendername));format(string, 128,\"%s ordítja: %s\",sendername,text);ProxDetector(30.0, playerid, string, COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE);return 0;}
if (!strcmp(cmdtext, \"/s\", true)){new plname[24]; GetPlayerName(playerid, plname, 24);format(string, 128,\"%s ordítja: %s\", sendername, cmdtext[3]);ProxDetector(60.0, playerid, string, COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE);}
public OnPlayerCommandText(blabla){ if (!strcmp(cmdtext, \"/s\", true)) {new plname[24]; GetPlayerName(playerid, plname, 24);format(string, 128,\"%s ordítja: %s\", sendername, cmdtext[3]);ProxDetector(60.0, playerid,colorcolorcolorcolorcolor...);} if (!strcmp(cmdtext, \"/w\", true)) {new plname[24]; GetPlayerName(playerid, plname, 24);format(string, 128,\"%s suttogja: %s\", sendername, cmdtext[3]);ProxDetector(60.0, playerid,colorcolorcolorcolorcolor...);}
mert az kb mekkora érték?pl a 10?az h nézzem meg h mekkora? :D:Dpl az 10 lépés gyalog vagy mi?
else if (((tempposx < radi/2) && (tempposx > -radi/2)) && ((tempposy < radi/2) && (tempposy > -radi/2)) && ((tempposz < radi/2) && (tempposz > -radi/2))) { SendClientMessage(i, col4, string); } else if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi))) { SendClientMessage(i, col5, string); }