How can i make a weapon command - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How can i make a weapon command (
/showthread.php?tid=78277)
How can i make a weapon command -
Battlaman - 18.05.2009
Hello,
My queston: How can i make a weapen command that if i type /tec9 that i get a tec9
Srry for my bad english
Can anybody help me?
Re: How can i make a weapon command -
MenaceX^ - 18.05.2009
pawn Код:
if(!strcmp("/tec9",cmdtext,true))
return GivePlayerWeapon(playerid,30);
// ain't sure if it's 30.
Re: How can i make a weapon command -
Correlli - 18.05.2009
Quote:
Originally Posted by MenaceX^
pawn Код:
if(!strcmp("/tec9",cmdtext,true)) return GivePlayerWeapon(playerid,30); // ain't sure if it's 30.
|
It's id 32. 30 is ak-47.
Re: How can i make a weapon command -
MenaceX^ - 18.05.2009
As I said, I don't remember the ID's of the weapons, only some of them.