Posts: 2,474
Threads: 79
Joined: Apr 2010
Reputation:
0
Doesnt work, and the problem isnt just at the /kill command(topic updated).
Posts: 2,474
Threads: 79
Joined: Apr 2010
Reputation:
0
Yeah i tought sow too..
Can anyone please help?
Posts: 498
Threads: 34
Joined: Jan 2010
Reputation:
0
may the strtok is the problem... i wouldn't believe in that function anymore. use sscanf instead.
Posts: 2,474
Threads: 79
Joined: Apr 2010
Reputation:
0
@above
I dont know how to use sscanf.XD.
Posts: 237
Threads: 27
Joined: Dec 2010
Reputation:
0
07.06.2011, 17:14
(
Последний раз редактировалось *IsBack; 07.06.2011 в 19:34.
)
Some function in returning 0 (instead of 1 or anything else). Returning 0 on OnPlayerCommandText callback, gives you "Unknown command" error. One of your filterscripts may cause this problem too..
Make sure to return 1; after every command check (strcmp), and make sure you got return 0; (or return SendClientMessage(playerid,color,"Unknown command!!"); ) at the end of OnPlayerCommandText callback.
Edit: I'm feeling ignored....