GetObjectPos Error
#6

at top of your script, simply create an array to hold 1 object per player
Код:
new Dynamite[MAX_PLAYERS];
then create the object when its needed (a command i assume)
Код:
Dynamite[playerid]=CreateObject(1654,x,y,z);
once its created, you can peek the positions
Код:
new Float:x, Float:y, Float:z;
GetObjectPos(Dynamite[playerid],x,y,z);
Reply


Messages In This Thread
GetObjectPos Error - by VonKnox - 12.10.2010, 06:11
Re: GetObjectPos Error - by Retardedwolf - 12.10.2010, 06:13
Re: GetObjectPos Error - by <Weponz> - 12.10.2010, 06:15
Re: GetObjectPos Error - by Tee - 12.10.2010, 06:34
Re: GetObjectPos Error - by Rachael - 12.10.2010, 07:02
Re: GetObjectPos Error - by Babul - 12.10.2010, 07:48

Forum Jump:


Users browsing this thread: 1 Guest(s)