03.08.2014, 16:12
Hola estuve creando algunos comandos y me sale un error en este comando:
Errores:
Код:
CMD:ls(playerid, params[]) { if(Informacion[playerid][pAdmin] >= 2 if (GetPlayerState(playerid) == 2) { return SetVehiclePos(GetPlayerVehicleID(playerid), 1527.2102,-1696.7616,13.4905); } else{ SetPosEx(playerid, 1527.2102,-1696.7616,13.4905, 0, 0 ,0); } } return 1; }
Код:
C:\Users\AsusEvo\Desktop\Gm desde 0\gamemodes\Gamemode.pwn(5573) : error 001: expected token: ")", but found "if" C:\Users\AsusEvo\Desktop\Gm desde 0\gamemodes\Gamemode.pwn(5580) : warning 209: function "cmd_ls" should return a value C:\Users\AsusEvo\Desktop\Gm desde 0\gamemodes\Gamemode.pwn(5581) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.