08.07.2009, 13:31
Код:
if (strcmp(cmd, "/loadfs", true) ==0 ) { if(IsPlayerConnected(playerid)) { if (PlayerInfo[playerid][pAdmin] >= 1337) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "[USAGE:] /loadfs [fs name]"); return 1; } new level; level = strval(tmp); format(string, sizeof(string), "loadfs %s", level); SendRconCommand(string); } } ret