Every command just sends the same client message, bit of help please.
#2

[pawn]
if(strcmp("/jonesyboss", cmdtext, true))
[pawn]

You check if strcmp is true, but strcmp returns 0 when the strings are equal, and so the if condition is called when anything but /jonesyboss is typed.
Check it like this:

pawn Код:
if(strcmp("/jonesyboss", cmdtext, true) == 0)
// or:
if(!strcmp("/jonesyboss", cmdtext, true))
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)