27.07.2009, 22:41
This under OnPlayerCommandText:
Код:
if(strcmp(cmdtext, "/world", true, 6) == 0) { SetPlayerVirtualWorld(playerid, 1); return 1; } if(strcmp(cmdtext, "/main", true, 5) == 0) { SetPlayerVirtualWorld(playerid, 0); return 1; }