02.02.2010, 16:37
I have a zombie server and i want to open Traders Gate,Fence In random time when playing, without command
forward Traders(); public OnGameModeInit( ) { print("Starting timer..."); SetTimer("Traders",1000,false); } public Traders() { print("Traders doors are now open"); MoveObject(Trader1,1644.6403,-1717.2532,32.8169,1.5000); }
forward Traders();
public OnGameModeInit( )
{
print("Starting timer...");
SetTimer("Traders",180000,true);
}
public Traders()
{
print("Traders doors are now open");
MoveObject(Trader1,1644.6403,-1717.2532,32.8169,1.5000);
SetTimer("close",10000,false);
}
forward close();
public close()
{
print("Traders doors are now closed");
MoveObject(Trader1,/*the position of the object closed here */);
}
error 029: invalid expression, assumed zero
error 035: argument type mismatch (argument 5)
Originally Posted by hardstop
2 Errors
Код:
error 029: invalid expression, assumed zero Код:
error 035: argument type mismatch (argument 5) |