08.02.2013, 22:55
pawn Код:
C:\Users\Allisson\Desktop\Serve (Samp)\gamemodes\PortaoBaseGn.pwn(12) : error 001: expected token: ",", but found "."
C:\Users\Allisson\Desktop\Serve (Samp)\gamemodes\PortaoBaseGn.pwn(12) : error 029: invalid expression, assumed zero
C:\Users\Allisson\Desktop\Serve (Samp)\gamemodes\PortaoBaseGn.pwn(12) : warning 215: expression has no effect
C:\Users\Allisson\Desktop\Serve (Samp)\gamemodes\PortaoBaseGn.pwn(12) : error 001: expected token: ";", but found ")"
C:\Users\Allisson\Desktop\Serve (Samp)\gamemodes\PortaoBaseGn.pwn(12) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
---
Eu fiz um FS Para abrir e fechar um portao da gn mais quando vo compilar da erro porque ?
pawn Код:
#include <a_samp>
#include <streamer>
new PortaoBaseExercito;
#if defined FILTERSCRIPT
#else
#endif
public OnGameModeInit()
{
PortaoBaseExercito = CreateObject(980, -1422, 494.7998046875, 4.8000001907349, 0.0000, 0.0000, 89.994506835938.0000);
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/abrirgn", true) == 0)
{
MoveObject(PortaoBaseExercito,-1422, 505.7998046875, 4.8000001907349, 3.0);
SendClientMessage(playerid, 0x9E3EFFAA, "[INFO] Portao Presos Gn Aberto Com Sucesso");
return 1;
}
if(strcmp(cmdtext, "/fechargn", true) == 0)
{
MoveObject(PortaoBaseExercito,-1422, 494.7998046875, 4.800000190734, 3.0);
SendClientMessage(playerid, 0x9E3EFFAA, "[INFO] Portao Presos Gn Fechado Com Sucesso.");
return 1;
}
return 0;
}