28.06.2012, 23:35
EDIT:
Don't work...
use...
give me a parachute, Brass Knuckles, Chainsaw, Sawnoff Shotgun, Tec-9
the syntax is:
etc
Don't work...
PHP код:
GivePlayerWeapons(playerid, ...)
{
new
start = 1,
num = numargs();
for(new i = start; i < num; i++)
{
GivePlayerWeapon(playerid, getarg(i), getarg(i + 1));
}
return 1;
}
PHP код:
GivePlayerWeapons(playerid, 9, 1, 26, 400, 46, 450); // Chainsaw, Sawnoff Shotgun & Tec-9
the syntax is:
PHP код:
GivePlayerWeapons(playerid, weapon_1, ammo_1, weapon_2, ammo_2, weapon_3, ammo_3);