19.04.2010, 21:01
Й assim eu tava a compilar e deu me os seguintes erros
Penso que й da linha 510
esta escrito assim
Quote:
C:\Users\Blacknedvertigo\Desktop\Nova pasta\Server Pedro\gamemodes\stunts.pwn(510) : error 001: expected token: ",", but found "-identifier-" C:\Users\Blacknedvertigo\Desktop\Nova pasta\Server Pedro\gamemodes\stunts.pwn(510) : warning 215: expression has no effect C:\Users\Blacknedvertigo\Desktop\Nova pasta\Server Pedro\gamemodes\stunts.pwn(510) : error 001: expected token: ";", but found ")" C:\Users\Blacknedvertigo\Desktop\Nova pasta\Server Pedro\gamemodes\stunts.pwn(510) : error 029: invalid expression, assumed zero C:\Users\Blacknedvertigo\Desktop\Nova pasta\Server Pedro\gamemodes\stunts.pwn(510) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |
esta escrito assim
Quote:
public OnPlayerConnect(playerid) { new PlayerName2[MAX_PLAYER_NAME]; new string[48]; GetPlayerName(playerid, PlayerName2, sizeof(PlayerName2)); format(string, sizeof(string), "%s entrou no servidor.", PlayerName2); SendClientMessageToAll(COLOR_RED string); // esta й a 510 SendClientMessage(playerid, COR_AZULNEUTRO, "-------------------------------------------------------------------------------- "); SendClientMessage(playerid, COR_VERDECLARO, "Bem-vindo ao Servidor De Stunts Mode v1.1"); SendClientMessage(playerid, COR_ROSA, "Para ajuda inicial escreva: /ajuda "); SendClientMessage(playerid, COR_LARANJA, "Para obter veiculos escreva: /estacionamento "); SendClientMessage(playerid, COR_VERDECLARO, "Veja quem fez esse gm escreva : /creditos"); SendClientMessage(playerid, COR_ROSA, "Para ver mais comandos escreva: /comandos"); SendClientMessage(playerid, COR_AZULNEUTRO, "-------------------------------------------------------------------------------- "); ApplyAnimation(playerid,"PARK","Tai_Chi_Loop",4.0, 1,0,0,0,0); InShamal[playerid] = 0; return 1; } |