28.07.2009, 06:42
Hello all. I have command /wanted wich shows all server wanted people. But here is the problem. All people shows in one line and when wanted people are too much line doesn't shows. Can you tell me how to do that people would show in next line? Here is the command:
Код:
if(!strcmp(cmdtext, "/wanted", true)) { new zin[256] = "* Wanted people:"; new name[MAX_PLAYER_NAME]; for(new i = 0; i <MAX_PLAYERS; i++){ if(IsPlayerConnected(i) && GetPlayerWantedLevel(i)>0){ GetPlayerName(i,name,MAX_PLAYER_NAME); format(zin,256,"%s %s(%i levels),",zin,name,GetPlayerWantedLevel(i)); } } SendClientMessage(playerid,green,zin); return 1; }