10.03.2012, 18:20
Congratulations!
You are wrong. The compiler has nothing to do with this. I can have code at OnDialogResponse Callback that does something on Button1 or Button2, but I may not have at all. It will compiles fine. You didn't explain anything and you suggest them how to make a command with strcmp( not even command processor, but a string comparison ) using wrong length and get the message "SERVER: Unknown command."
Quote:
If nothing happened when you click OK, the compiler wouldn't compile
|
pawn Код:
// Change "/mycommand" to your liking. I will be using /vcmds for this tutorial since i am creating a vip menu.
if (strcmp("/mycommand", cmdtext, true, 10) == 0)