Quote:
Originally Posted by Mugala
for first, take care of brackets.
PHP код:
CMD:usp(playerid, params[])
{
GivePlayerWeapon(playerid, 22, 10);
SendClientMessage(playerid, COLOR_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.