30.09.2018, 09:56
The function is called GivePlayerWeaponEx according to your command. Make it a public function and call it from the filterscript the same way you did with money.
Now replace at the filterscript `GivePlayerWeapon` with `givePlayerWeapon`.
pawn Код:
// filterscript:
givePlayerWeapon(playerid, weaponid)
{
CallRemoteFunction("GivePlayerWeaponEx", "dd", playerid, weaponid);
}