03.12.2011, 02:19
FS deu erro! se alguem conseguir corrigir, por favor fale o que eu errei para da proxima vez fazer direitinho
FilterScript (Completo)
Os erros sao os seguintes:
C:\Users\User4\Desktop\Exemplo .pwn(12) : error 017: undefined symbol "cmdtext"
C:\Users\User4\Desktop\Exemplo .pwn(14) : error 017: undefined symbol "playerid"
C:\Users\User4\Desktop\Exemplo .pwn(16) : error 030: compound statement not closed at the end of file (started at line 12)
FilterScript (Completo)
pawn Код:
#include <a_samp>
main()
{
print("Servidor execultado com sucesso");
print("-------------------------");
print("Forum, Acesse");
}
public OnGameModeInit()
{if(strcmp(cmdtext, "/pegar gasolina", true) == 0)
{
AttachObjectToPlayer( 1650, playerid, 1.5, 0.5, 0, 0, 1.5, 2 );
return 1;
}
C:\Users\User4\Desktop\Exemplo .pwn(12) : error 017: undefined symbol "cmdtext"
C:\Users\User4\Desktop\Exemplo .pwn(14) : error 017: undefined symbol "playerid"
C:\Users\User4\Desktop\Exemplo .pwn(16) : error 030: compound statement not closed at the end of file (started at line 12)