17.08.2011, 00:19
Eu fiz ontem usando "..."
Exemplo:
Exemplo:
pawn Код:
RemovePlayerWeapon( playerid, 24 , 35 , 36 , 37 , 38 );
pawn Код:
RemovePlayerWeapon(playerid,{Float,_}:...)
{
new
ii = numargs(),
weaponid,
ammo,
jj = 1,
x
;
for(; x < 13; ++x)
{
GetPlayerWeaponData(playerid,x,weaponid,ammo);
do
{
if(weaponid == getarg(jj))
SetPlayerAmmo(playerid,weaponid,0);
}
while(++jj < ii);
}
return 1;
}