Quote:
Originally Posted by TheToretto
If you need it as a command:
pawn Code:
CMD:weaponset(playerid, params[]) { GivePlayerWeapon(playerid, 24, 200); GivePlayerWeapon(playerid, 26, 200); GivePlayerWeapon(playerid, 34, 200); GivePlayerWeapon(playerid, 31, 500);
SendClientMessage(playerid, -1, "You've just loaded the weapon set 1!"); return 1; }
|
The point is making them learn how does this really work instead of just giving them the code, because next time he will ask again.
OT: Search Before posting!
There's a wiki for that, have a look at >
https://sampwiki.blast.hk/wiki/GivePlayerWeapon
There's also a anti weapon hack tutorial, have a look at >
https://sampforum.blast.hk/showthread.php?tid=319800