How to detect weapon?
#1

I have a /weapon command for people who donated on my server. But the problem is, they can have as many weapons as they want when they type /weapon


How can i make it so they can only choose 3 weapons and are unable to choose anymore until they die and respawn?


Here's my /weapon command:


pawn Код:
if (strcmp("/weapon", cmdtext, true, 10) == 0) // Shows Admin Command List
{
if(donator[playerid] == 1)
{
ShowPlayerDialog(playerid,DONATOR_DIALOG,2,"Choose a Weapon","Uzi\nAk47\nSawn-Off Shotgun\nTec9\nSMG\nCombat Shotgun","Buy","Cancel");
}
else
SendClientMessage(playerid,0xFF0000AA,"This Command is for Donators only, Donate to unlock it!");
return 1;
}
Reply


Messages In This Thread
How to detect weapon? - by ruckfules99 - 30.04.2010, 23:28
Re: How to detect weapon? - by Retardedwolf - 30.04.2010, 23:40
Re: How to detect weapon? - by ruckfules99 - 01.05.2010, 00:17
Re: How to detect weapon? - by maij - 01.05.2010, 09:23
Re: How to detect weapon? - by CAR - 01.05.2010, 12:16
Re: How to detect weapon? - by ruckfules99 - 01.05.2010, 13:19
Re: How to detect weapon? - by ruckfules99 - 01.05.2010, 14:10
Re: How to detect weapon? - by ruckfules99 - 01.05.2010, 14:16
Re: How to detect weapon? - by ruckfules99 - 01.05.2010, 14:30

Forum Jump:


Users browsing this thread: 1 Guest(s)