17.07.2014, 16:37
I've tried it but I could not get this fixed, someone knows how to do it?
Код:
CMD:families(playerid, params[]) { new string[768]; if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command."); for(new idx=1; idx<MAX_FAMILIES; idx++) { format(string, sizeof(string), "- {00b3f0}Name: {ffffff}%s {000000}| {00b3f0}Leader: {ffffff}%s {000000}| {00b3f0}Members: {ffffff}%d {000000}| {00b3f0}Strikes: {ffffff}%d", FamInfo[idx][fName], FamInfo[idx][fLeader], FamInfo[idx][fMembers], FamInfo[idx][fStrikes]); SendClientMessage(playerid, COLOR_WHITE, string); } return 1; }