12.02.2017, 18:35
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
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