arrows pointing ahead of you
#1

how do i make this create 4 objects infront of the player, each object +2 infront of each object

pawn Код:
for(new i = 0; i < sizeof(BribePickups); i++)
        {
            GetXYInFrontOfPlayer(playerid, x2, y2, 3);
            GpsPickups[i] = CreatePlayerObject(playerid,1318,x2,y2,z2,0,0,0,50);
            GetXYBehindPlayer(playerid,x2,y2,4);
            new Float:ppx,Float:ppy,Float:ppz;
                       GetPlayerPos(playerid,ppx,ppy,ppz);
            if(ObjectToPoint(playerid, 2, GpsPickups[i], ppx, ppy, ppz))
            {
                DestroyDynamicObject(GpsPickups[i]);
            }
        }
like this?

Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)