Trying to fix commands
#1

I made some commands but, they are all mixed up. When I do /rules it brings up General Help.
Reply
#2

You've probably mixed some brackets in OnPlayerCommandText callback.
Reply
#3

I think it's because you copy/pasted a line for your general info then u forgot to set:

if (strcmp("/rules", cmdtext, true, 10) == 0)


Reply
#4

Fixed it, thanks though.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)