07.07.2010, 20:54
Hello folks,
I was tried to create a command so players can decide to use local chat or not, but I failed hard time.
The command code look like this:
But it's not working, can somebody help me fix this or is this not possible?
Thanks!
I was tried to create a command so players can decide to use local chat or not, but I failed hard time.
The command code look like this:
Код:
if (strcmp("/local", cmdtext, true) == 0) { if(localchat[playerid] == 0) { localchat[playerid] = 1; }else{ localchat[playerid] = 0; } return 1; }
Thanks!