05.01.2011, 18:01
Tipo, fui compilar meu Game mode e da esse seguinte erro:
Aqui o comando e a linha do erro:
Код:
C:\Documents and Settings\day\Meus documentos\Downloads\GamerX 3.3b\gamemodes\gamerx.pwn(27716 -- 27717) : error 001: expected token: ",", but found "-identifier-" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Код:
if(strcmp(cmd, "/home", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pPHousekey] != 255) { if(PlayerOnMission[playerid] > 0) { SendClientMessage(playerid, COLOR_GREY, " On a mission right now, can't use this command !"); return 1; } SetPlayerCheckpoint(playerid,HouseInfo[PlayerInfo[playerid][pPHousekey]][hEntrancex], HouseInfo[PlayerInfo[playerid][pPHousekey]][hEntrancey], HouseInfo[PlayerInfo[playerid][pPHousekey]][hEntrancez], 4.0); GameTextForPlayer(playerid, "~w~Waypoint set ~r~Home", 5000, 1); gPlayerCheckpointStatus[playerid] = CHECKPOINT_HOME; } <<Dessa linha 27616 else <<< 27617 { <<< Atй essa! 27618 GameTextForPlayer(playerid, "~w~Voce nao tem casa", 5000, 1); } } return 1; }