[HELP] /sellgun with dcmd
#8

Quote:
Originally Posted by Haegon
Посмотреть сообщение
So, I got to the part where you can actually sell the weapon. I made it do something like
Код:
 if(weaponName == "bat")
to check if the player wanted to sell a bat, but it gave me array problems, so I tried strcmp, and it just isn't working.

Is there any way I can check if they typed the right weapon in weaponName without using strcmp?
Shoud look like:
pawn Код:
if(!strcmp(weaponName, "Bat", true))
{
    //Do your stuff!
}
You get the point
Reply


Messages In This Thread
[SOLVED] /sellgun with dcmd - by Haegon - 26.11.2010, 22:12
Re: [HELP] /sellgun with dcmd - by Faraday - 26.11.2010, 22:31
Re: [HELP] /sellgun with dcmd - by Haegon - 26.11.2010, 23:30
Re: [HELP] /sellgun with dcmd - by Haegon - 27.11.2010, 00:08
Re: [HELP] /sellgun with dcmd - by Fj0rtizFredde - 27.11.2010, 00:32
Re: [HELP] /sellgun with dcmd - by Haegon - 27.11.2010, 01:36
Re: [HELP] /sellgun with dcmd - by Haegon - 28.11.2010, 21:03
Re: [HELP] /sellgun with dcmd - by Fj0rtizFredde - 28.11.2010, 22:17
Re: [HELP] /sellgun with dcmd - by Haegon - 28.11.2010, 22:36
Re: [HELP] /sellgun with dcmd - by Richard Steinheimer - 12.08.2012, 03:06

Forum Jump:


Users browsing this thread: 1 Guest(s)