Suppressor System
#3

Quote:
Originally Posted by Mugala
Посмотреть сообщение
for first, take care of brackets.
PHP код:
CMD:usp(playeridparams[])
{
    
GivePlayerWeapon(playerid2210);
    
SendClientMessage(playeridCOLOR_AQUA"You have been given a Colt 45");
    return 
1;

you must replace Colt45 with SDColt45. you can simply make this replacement with giving the player weapon ID 23 (for example - GivePlayerWeapon(playerid, 23, 0);)
Yes, I know, I just didn't bother to copy all of it.

I also know that you can change the ID to the SD pistol one, but that's not what I'm asking. I want to make a system that includes making a silenced pistol only if you have a colt 45 and a suppressor in your characters data.
Reply


Messages In This Thread
Suppressor System - by Mo123 - 27.05.2018, 16:15
Re: Suppressor System - by Mugala - 28.05.2018, 00:33
Re: Suppressor System - by Mo123 - 28.05.2018, 16:13
Re: Suppressor System - by David (Sabljak) - 28.05.2018, 16:17
Re: Suppressor System - by Mo123 - 28.05.2018, 16:20
Re: Suppressor System - by Lokii - 28.05.2018, 17:30
Re: Suppressor System - by Mo123 - 28.05.2018, 21:04
Re: Suppressor System - by Exhibit - 28.05.2018, 22:46

Forum Jump:


Users browsing this thread: 1 Guest(s)