23.04.2009, 17:51
Code:
C:\Documents and Settings\A\Desktop\TL-RP\gamemodes\tlrp.pwn(42726) : error 076: syntax error in the expression, or invalid function call C:\Documents and Settings\A\Desktop\TL-RP\gamemodes\tlrp.pwn(42734) : error 076: syntax error in the expression, or invalid function call C:\Documents and Settings\A\Desktop\TL-RP\gamemodes\tlrp.pwn(42743) : error 076: syntax error in the expression, or invalid function call C:\Documents and Settings\A\Desktop\TL-RP\gamemodes\tlrp.pwn(42744) : error 076: syntax error in the expression, or invalid function call C:\Documents and Settings\A\Desktop\TL-RP\gamemodes\tlrp.pwn(42752) : error 076: syntax error in the expression, or invalid function call C:\Documents and Settings\A\Desktop\TL-RP\gamemodes\tlrp.pwn(42760) : error 076: syntax error in the expression, or invalid function call C:\Documents and Settings\A\Desktop\TL-RP\gamemodes\tlrp.pwn(42761) : error 076: syntax error in the expression, or invalid function call
Code:
if(strcmp(cmd, "/vehmark", true) == 0) { if(IsPlayerConnected(playerid)) { if (!IsPlayerAdmin(playerid)) { GetPlayerPos(playerid, TeleportDestveh[playerid][0],TeleportDestveh[playerid][1],TeleportDestveh[playerid][2]); SendClientMessage(playerid, COLOR_GRAD1, " Teleporter Station set, now use /Botstart"); } else { SendClientMessage(playerid, COLOR_GRAD1, " HINT: U must login as Rcon Admin !"); } } return 1; } if(strcmp(cmd,"/Startbotcar",true)==0) { if(IsPlayerConnected(playerid)) { Autostop = SetTimer("Autostop", 250, 1); //Dont worry it can take 250 ;) } return 1; } if(strcmp(cmd,"/Startbotcar",true)==0) { if(IsPlayerConnected(playerid)) { KillTimer(Autostop); } return 1; } if(strcmp(cmd,"/Speed1",true)==0) { if(IsPlayerConnected(playerid)) { KillTimer(Autostop); Autostop = SetTimer("Autostop", 250, 1); //Dont worry it can take 250 ;) } return 1; } if(strcmp(cmd,"/Speed2",true)==0) { if(IsPlayerConnected(playerid)) { Autostop = SetTimer("Autostop", 150, 1); } return 1; } if(strcmp(cmd,"/Speed3",true)==0) { if(IsPlayerConnected(playerid)) { KillTimer(Autostop); Autostop = SetTimer("Autostop", 50, 1); //If u want it faster just edit it } return 1; }