E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\gamemodes\\EMR.pwn(89) : error 076: syntax error in the expression, or invalid function callE:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\gamemodes\\EMR.pwn(90) : error 076: syntax error in the expression, or invalid function call Copyright (c) 1997-2006, ITB CompuPhase 2 Errors.
CMD:felmond(playerid, params[]){KillTimer(taxistimer);KillTimer(mentostimer);SendClientMessage(playerid, SARGA, \"Felmondtál az állásodból!\");SetPlayerPos(playerid, -249.8684,2609.4885,62.8582);return 1;}
forward taxistimer(playerid);public taxistimer(playerid){GivePlayerMoney(playerid, 480);SendClientMessage(playerid, -1, \"{00ff00}[FIZETÉS] {ffffff}Megkaptad a fizetésed! 480$\");return 1;}forward mentostimer(playerid);public mentostimer(playerid){GivePlayerMoney(playerid, 973);SendClientMessage(playerid, -1, \"{00ff00}[FIZETÉS] {ffffff}Megkaptad a fizetésed! 973$\");return 1;}
CMD:taxis(playerid, params[]){new string[255];if(gTeam[playerid] == TAXIS)SetPlayerSkin(playerid, 19);SetPlayerPos(playerid, -248.2956,2662.7441,62.6875);SetTimer(\"taxistimer\",1000*60*15,false);SendClientMessage(playerid, SARGA, \"Mostantól taxisként dolgozol!\");SendClientMessage(playerid, FEHER, \"Ha felakarsz mondani /felmond\");new taxis[MAX_PLAYER_NAME];GetPlayerName(playerid, taxis, sizeof(taxis));format(string, sizeof string, \"{ffffff}%s {00ff1e}mostantól taxisként dolgozik! {00ff00}Hívhatod a {ff0000}/telefon {00ff00}parancsal.\",taxis);SendClientMessageToAll(0x00ff1eAA,string);return 1;}
new tatimer; //Globálisan létrehozzukCMD:taxis(playerid, params[]){new string[255];if(gTeam[playerid] == TAXIS)SetPlayerSkin(playerid, 19);SetPlayerPos(playerid, -248.2956,2662.7441,62.6875);tatimer = SetTimer(\"taxistimer\",1000*60*15,false);SendClientMessage(playerid, SARGA, \"Mostantól taxisként dolgozol!\");SendClientMessage(playerid, FEHER, \"Ha felakarsz mondani /felmond\");new taxis[MAX_PLAYER_NAME];GetPlayerName(playerid, taxis, sizeof(taxis));format(string, sizeof string, \"{ffffff}%s {00ff1e}mostantól taxisként dolgozik! {00ff00}Hívhatod a {ff0000}/telefon {00ff00}parancsal.\",taxis);SendClientMessageToAll(0x00ff1eAA,string);return 1;}CMD:felmond(playerid, params[]){KillTimer(tatimer);SendClientMessage(playerid, SARGA, \"Felmondtál az állásodból!\");SetPlayerPos(playerid, -249.8684,2609.4885,62.8582);return 1;} forward taxistimer(playerid);public taxistimer(playerid){GivePlayerMoney(playerid, 480);SendClientMessage(playerid, -1, \"{00ff00}[FIZETÉS] {ffffff}Megkaptad a fizetésed! 480$\");return 1;}