17.12.2010, 13:49
no, it work just for my name.
If I /check , it check some accounts. For not to exploit all the resource of the server. If i /check everything the accounts which begins by A will be checked. A..._...ini
Example in scriptfiles there are:
A1_B1.ini
A2_B6.ini
B2_B3.ini
Here, just A1_B1 A2_B6 are checked
My question, how to make that?
If I /check , it check some accounts. For not to exploit all the resource of the server. If i /check everything the accounts which begins by A will be checked. A..._...ini
Example in scriptfiles there are:
A1_B1.ini
A2_B6.ini
B2_B3.ini
Here, just A1_B1 A2_B6 are checked
My question, how to make that?
Код:
if(strcmp(cmd, "/check", true) == 0) { if(IsPlayerConnected(playerid)) { Check(); } return 1; }