Ficou assiim '-' e deu erros
new portao;
public OnGameModeInit()
{
portao = CreateObject(970, 1459.099365, -1504.791870, 13.258116, 0.0000, 0.0000, 258.7500);
return 1;
}
public OnPlayerCommandText(playerid,cmdtext[])
{
if(strcmp(cmdtext,"/opengate",true)==0)
{
new Float:1459.099365, Float:-1504.791870, Float:13.258.116;
GetObjectPos(portao,1459.8817,-1500.2341,91.8967);
MoveObject(portao,1464.099365,-1504.791870,13.258116,0.0000);
return 1;
}
return 0;
}
E deu esse 4 erros
C:\Documents and Settings\Jean\Desktop\GTA Server\pawno\SCB.pwn(44529) : error 021: symbol already defined: "OnGameModeInit"
C:\Documents and Settings\Jean\Desktop\GTA Server\pawno\SCB.pwn(44534) : error 021: symbol already defined: "OnPlayerCommandText"
C:\Documents and Settings\Jean\Desktop\GTA Server\pawno\SCB.pwn(44537) : error 001: expected token: "-identifier-", but found "-rational value-"
C:\Documents and Settings\Jean\Desktop\GTA Server\pawno\SCB.pwn(4453
: error 035: argument type mismatch (argument 2)