stats
#1

Код:
		if(strcmp("/stats", cmd, true) == 0){
    {
    new str[256];
		new ttext[20];
		if(PlayerInfo[playerid][faction] == 0 || PlayerInfo[playerid][leader] == 0) { ttext = "None"; }
    format(str, sizeof(str), "Reputation[%d] Faction:[%d] ", PlayerInfo[playerid][reputation], PlayerInfo[playerid][faction]);
		SendClientMessage(playerid, COLOR_YELLOW, str);
		}
		return 1;
		}
I want the Faction:[0] to show [None] but it shows this:
/imageshack/img705/3903/samp009n.png
Reply


Messages In This Thread
stats - by armyoftwo - 10.12.2009, 15:33
Re: stats - by SpiderPork - 10.12.2009, 15:41

Forum Jump:


Users browsing this thread: 1 Guest(s)