07.09.2015, 02:27
Yes using chair = CreateObject.... ( would be correct. CreateObject simply returns an integer which holds the ID of the object.
You can then use the ID to interact with it, i.g:
You can then use the ID to interact with it, i.g:
pawn Код:
new chair = CreateObject(1495, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
if(IsValidObject(chair))
{
DestroyObject(chair);
}