[HELP] weapons
#11

Quote:
Originally Posted by TheToretto
View Post
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
Reply


Messages In This Thread
[HELP] weapons - by zakariacaspeer - 01.11.2018, 15:43
Re: [HELP] weapons - by TheToretto - 01.11.2018, 15:57
Re: [HELP] weapons - by UFF - 01.11.2018, 16:12
Re: [HELP] weapons - by TheToretto - 01.11.2018, 16:28
Re: [HELP] weapons - by UFF - 01.11.2018, 16:40
Re: [HELP] weapons - by TheToretto - 01.11.2018, 16:53
Re: [HELP] weapons - by zakariacaspeer - 01.11.2018, 17:15
Re: [HELP] weapons - by zakariacaspeer - 01.11.2018, 17:20
Re: [HELP] weapons - by TheToretto - 01.11.2018, 17:33
Re: [HELP] weapons - by zakariacaspeer - 01.11.2018, 18:06
Re: [HELP] weapons - by d3Pedro - 01.11.2018, 18:10
Re: [HELP] weapons - by zakariacaspeer - 01.11.2018, 18:12
Re: [HELP] weapons - by TheToretto - 01.11.2018, 18:46
Re: [HELP] weapons - by zakariacaspeer - 01.11.2018, 18:59
Re: [HELP] weapons - by zakariacaspeer - 01.11.2018, 19:05

Forum Jump:


Users browsing this thread: 1 Guest(s)