#1

I want to make a Command that shows something okay for example

Player have 2/5 Paper and 3/5 Phones in database

the cmd is /show [itemname/partofname]

so when the player do /show paper or /show pap
it gives him "paper 2/5"

I don't want to make that stuff "if(strcmp(item, "paper", true) == 0)"

cuz that will take so loonnng to make like 49 item !
I wanna know if there is a away the make PlayerInfo[playerid][%s] and the %s is depends on the Item name just like when you're making a string.. etc etc
Reply


Messages In This Thread
Help - by Krauser123 - 12.02.2017, 18:35
Re: Help - by X337 - 13.02.2017, 06:08
Re: Help - by Krauser123 - 13.02.2017, 16:56

Forum Jump:


Users browsing this thread: 1 Guest(s)