[Ajuda] Erros GM - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Erros GM (
/showthread.php?tid=442411)
Erros GM -
CrazYou - 07.06.2013
C:\Users\KV\Desktop\Server SAMP\gamemodes\WAW.pwn(195) : error 029: invalid expression, assumed zero
C:\Users\KV\Desktop\Server SAMP\gamemodes\WAW.pwn(195) : error 004: function "OnPlayerConnect" is not implemented
C:\Users\KV\Desktop\Server SAMP\gamemodes\WAW.pwn(195) : error 037: invalid string (possibly non-terminated string)
C:\Users\KV\Desktop\Server SAMP\gamemodes\WAW.pwn(195) : fatal error 107: too many error messages on one line
//----------------------------------------------------------
public OnPlayerConnect(playerid);"
{
SetPlayerColor(playerid),"Bem Vindo ao World At War");
new pName[MAX_PLAYER_NAME];
new string[48];
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), "%s entrou na batalha ! ", pName);
SendClientMessageToAll(0xFF0000AA, string);
UsePlayerPedAnims();
}
//---------------------------------------------------------
Re: Erros GM -
AlucardSnow - 07.06.2013
pawn Код:
public OnPlayerConnect(playerid) // Coloque assim, sem virgula e aspas.
SetPlayerColor
pawn Код:
new pName[MAX_PLAYERS_NAME];
pawn Код:
UsePlayerPedAnims(); // Coloca em OnGameModeInit ( й uma public )
Pronto, o SetPlayerColor explica o seu erro, olhe como й usado e olhe como vocк estб usando =)
Re: Erros GM -
Delete_ - 07.06.2013
edit: desisto.
Re: Erros GM -
AlucardSnow - 07.06.2013
Quote:
Originally Posted by Delete_
edit: desisto.
|
Eu vi ta, kkkkkkkkkkkkkkkkkkkk.