21.07.2012, 20:35
Alguem sabe onde esta o Erro?
Codigo:
Erros:
PS: O pawno nao tem 90 ele so tem 89 que й a linha :
Codigo:
PHP код:
public OnPlayerPickUpPickup(playerid, pickupid) { // Inнcio do public
if(pickupid == NovoPickup){ // Pickup definido
GameTextForPlayer(playerid,"~w~Armas!", 6000,4); // Aзхes que serгo feitas ao passar por cima do pickup
GivePlayerWeapon(playerid,24,9999999999); // No caso do exemplo, ele estб dando armas e mostrando um GameText
GivePlayerWeapon(playerid,27,9999999999);
GivePlayerWeapon(playerid,29,9999999999);
GivePlayerWeapon(playerid,31,9999999999);
GivePlayerWeapon(playerid,34,9999999999);
}
return 1; {
PHP код:
C:\Users\Vitor\Desktop\Server Teste\gamemodes\Server.pwn(89) : warning 225: unreachable code
C:\Users\Vitor\Desktop\Server Teste\gamemodes\Server.pwn(90) : error 030: compound statement not closed at the end of file (started at line 90)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
PHP код:
return 1; {