20.09.2009, 15:45
i'm having problem about moving object.. Please Help me..
Errors
Lines
How Can i solve this errors.. Thank You
-TraNe15-
Errors
Код:
I:\Documents and Settings\OrKo\Desktop\Gta Sa-Mp Server\OrKo's Server\gamemodes\KillBox_Dm.pwn(100) : warning 204: symbol is assigned a value that is never used: "obj" I:\Documents and Settings\OrKo\Desktop\Gta Sa-Mp Server\OrKo's Server\gamemodes\KillBox_Dm.pwn(362) : error 017: undefined symbol "obj" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Код:
forward Asansor();
public OnGameModeInit()
{
SetTimer("Asansor", 10000, 0); //10 saniye
new obj;
obj = CreateObject(16500, 2977.427490, -1727.917725, 10.233408, 179.5182, 90.1369, 69.6144);
}
public Asansor()
{
MoveObject(obj, 2977, -1728, 58, 2.00);
return 1;
}
-TraNe15-


it's working perfectly!
How can i move like; go up and down.. this script is just going up.. I think but i counldn't found..