How can i make a weapon command
#1

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?
Reply
#2

pawn Код:
if(!strcmp("/tec9",cmdtext,true))
  return GivePlayerWeapon(playerid,30);
// ain't sure if it's 30.
Reply
#3

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.
Reply
#4

As I said, I don't remember the ID's of the weapons, only some of them.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)