27.11.2010, 19:54
ye i cant figure it out..
im trying to create 4 pickups infront of me, each 2+ infront then after i pass each one delete it and add a new one infront
im trying to create 4 pickups infront of me, each 2+ infront then after i pass each one delete it and add a new one infront
pawn Код:
GetXYInFrontOfPlayer(playerid, x2, y2, 3);
for(new i = 0; i < sizeof(GpsPickups); i++)
{
GpsPickups[i] =
CreateDynamicObject(1318, x2, y2, z2, 0, 0, 0, -1,-1,-1,200.0);
GetXYInBehindPlayer(playerid,x2,y2,4);
DestroyDynamicObject(GpsPickups[i]);
}