05.08.2018, 20:12
You're giving the weapon to the person who executes the commands.
PHP код:
for(new targetIndex = 0, maxIndex = GetPlayerPoolSize(); targetIndex <= maxIndex; targetIndex++)
if(IsPlayerConnected(targetIndex))
GivePlayerWeapon(targetIndex, weaponid, ammo);