26.02.2013, 03:48
Probably a stupid question, just pretty new at coding in PAWN. How would I set up a script such that if I type
it would send that message to everyone on the server?
Like I know
but I don't know how to grab everything after the command and set it as a variable.
Код:
/am Hello, this is a message
Like I know
Код:
if (strcmp("/adminmessage", cmdtext, true) == 0 || strcmp(cmdtext,"/am",true)==0) { //Code Here return 1; }