Code which can let choose whatever integer player wants to insert into command
#1

Ok, so simple explanation.I want to do command, which should be wrote like this /penalty [playername] [amount of penalty] .Half of the code I done myself, but the main question, what to do, that policeman can choose what amount penalty he wants to give to the player.Maybe I need to create variable and write something like variable = strval(SetInt(playerid));But isn't SetInt function is only used in dini?And one more question, so how I understand strtok is searching what value will be writed after the /command HERE, but if I want that strtok search what is writed /command here HERE, than how to do it?Thanks everyone who will might help me!!!
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)