Weapon spread out.
#6

pawn Код:
new Float:X,Float:Y,Float:Z;
    GetPlayerPos(playerid, X, Y, Z);
    new weaponID[13], weaponammo[13], rpos[2];
    for(new i = 0; i < 13; i++)
    {
            rpos[0] = random(7), rpos[1] = random(7);
            GetPlayerWeaponData(playerid, i, weaponID[i], weaponammo[i]);
            DropWeapons(weaponID[i], weaponammo[i], X + rpos[0], Y + rpos[1], Z, GetPlayerVirtualWorld(playerid), playerid);
        printf("%d,%d,%f,%d,%f,%d,%f,%d,%d",weaponID[i], weaponammo[i], X, rpos[0], Y, rpos[1], Z, GetPlayerVirtualWorld(playerid), playerid);
    }
I am using my iPhone so it hasn't been easy! :P
Reply


Messages In This Thread
Weapon spread out. - by Mikkel_RE - 29.11.2012, 00:15
Re: Weapon spread out. - by GiamPy. - 29.11.2012, 00:24
Re: Weapon spread out. - by Mikkel_RE - 29.11.2012, 00:27
Re: Weapon spread out. - by GiamPy. - 29.11.2012, 00:31
Re: Weapon spread out. - by Mikkel_RE - 29.11.2012, 00:34
Re: Weapon spread out. - by GiamPy. - 29.11.2012, 00:46
Re: Weapon spread out. - by Mikkel_RE - 29.11.2012, 00:55

Forum Jump:


Users browsing this thread: 1 Guest(s)