26.11.2016, 00:42
Help me Pliss , I'm Newbie
Error :
Script :
Error :
PHP код:
C:\Users\User\Music\move.pwn(7) : error 010: invalid function or declaration
C:\Users\User\Music\move.pwn(10) : error 029: invalid expression, assumed zero
C:\Users\User\Music\move.pwn(25) : warning 203: symbol is never used: "S@@_OnPlayerCommandText"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
PHP код:
#include <a_samp>
#include <YSI\y_ini>
new gate;
//=====================================================================================//
gate == CreateObject(975, 2719.65112, -2405.51270, 14.10740, 0.00000, 0.00000, 90.00000);
public OnFilterScriptInit()
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/opengate", cmdtext, true, 10) == 0)
{
MoveObject(Gate,2719.65112, -2397.15259, 14.10740, 0.97);
SetTimer("gateclose", 5000, 0);
}
return 1;
}
forward gateclose();
public gateclose()
{
MoveObject(gate, 2719.65112, -2405.51270, 14.10740, 0.97);
return 1;
}