Incorrect Saving with Dini
#4

Try this, not sure how much it will help
pawn Код:
public ShowStats(playerid,targetid)
{
    if(IsPlayerConnected(playerid)&&IsPlayerConnected(targetid))
    {
        new Float:health;
        GetPlayerHealth(targetid,health);
        new Float:px,Float:py,Float:pz;
        GetPlayerPos(targetid, px, py, pz);
        new coordsstring[256];
        GetPlayerName(targetid, coordstring, sizeof(coordstring));
        SendClientMessage(playerid, COLOR_GREEN,"_______________________________________");
        format(coordsstring, sizeof(coordsstring),"*** %s ***",coordstring);
        SendClientMessage(playerid, COLOR_WHITE,coordsstring);
        format(coordsstring, sizeof(coordsstring),"%s, a %d year old %s. %s Accent. Has $%d", coordstring, pInfo[targetid][Age],(pInfo[targetid][Sex]==0)?("Male"):("Female"),pInfo[targetid][Accent], GetPlayerMoney(targetid));
        SendClientMessage(playerid, COLOR_WHITE, coordsstring);
        format(coordsstring, sizeof(coordsstring),"Located at x:%f,y:%f,z:%f.", px, py, pz);
        SendClientMessage(playerid, COLOR_WHITE, coordsstring);
        format(coordsstring, sizeof(coordsstring),"Level %d with %d experience. Health: %f.", pInfo[targetid][Level], pInfo[targetid][Experience], health);
        SendClientMessage(playerid, COLOR_WHITE, coordsstring);
        SendClientMessage(playerid, COLOR_GREEN,"_______________________________________");
    }
}
Reply


Messages In This Thread
Incorrect Saving with Dini - by jameskmonger - 27.12.2010, 11:53
Re: Incorrect Saving with Dini - by Joe Staff - 27.12.2010, 12:54
Re: Incorrect Saving with Dini - by jameskmonger - 27.12.2010, 12:59
Re: Incorrect Saving with Dini - by Joe Staff - 27.12.2010, 13:16
Re: Incorrect Saving with Dini - by jameskmonger - 27.12.2010, 15:10
Re: Incorrect Saving with Dini - by Souvlaki - 27.12.2010, 21:50
Re: Incorrect Saving with Dini - by jameskmonger - 28.12.2010, 08:45
Re: Incorrect Saving with Dini - by jameskmonger - 28.12.2010, 09:03
Re: Incorrect Saving with Dini - by jameskmonger - 28.12.2010, 20:28

Forum Jump:


Users browsing this thread: 1 Guest(s)