01.06.2015, 19:39
Something like that I guess would work:
PHP код:
new w_id, w_ammo, Float: p_pos[3], p_world = GetPlayerVirtualWorld(playerid), p_int = GetPlayerInterior(playerid), Float: offset;
GetPlayerPos(playerid, p_pos[0], p_pos[1], p_pos[2]);
for (new i; i != 13; ++i)
{
GetPlayerWeaponData(playerid, i, w_id, w_ammo);
if (w_id) DropGun(playerid, w_id, w_ammo, p_pos[0] + (offset += 0.5), p_pos[1], p_pos[2], p_world, p_int);
}