16.05.2012, 15:51
Hi all!
I do some areas for block commands in gang teritories. But i have problem with commands.
I make this:
Ok, if i type for exemple: /ww, the command won't execute, but if I use /ww(Space) the command will execute
... what can i do? I use ZCMD ...
I do some areas for block commands in gang teritories. But i have problem with commands.
I make this:
Код:
public OnPlayerCommandReceived( playerid, cmdtext[ ] ) { if ( IsPlayerInAnyDynamicArea( playerid ) ) { if ( !strcmp( cmdtext, "/god", true ) || !strcmp( cmdtext, "/goto", true ) || !strcmp( cmdtext, "/car", true ) || !strcmp( cmdtext, "/v", true ) || !strcmp( cmdtext, "/get", true ) || !strcmp( cmdtext, "/arme", true ) || !strcmp( cmdtext, "/s", true ) || !strcmp( cmdtext, "/l", true ) || !strcmp( cmdtext, "/wgm", true ) || !strcmp( cmdtext, "/rw", true ) || !strcmp( cmdtext, "/ww", true ) || !strcmp( cmdtext, "/lweaps", true ) ) return 0; } return 1; }
![undecided](images/smilies/neutral.gif)