MySQL Position Saving
#1

I'm having some issues loading positions.


pawn Код:
stock AssignPlayerData(playerid)
{
    Player[playerid][ID] = cache_get_field_content_int(0, "id");
    cache_get_field_content(0, "password", Player[playerid][Password], SQL, 129);
    Player[playerid][Money] = cache_get_field_content_int(0, "money");
    Player[playerid][Skin] = cache_get_field_content_int(0, "skin");
    Player[playerid][x] = cache_get_field_content_float(0, "x");
    Player[playerid][y] = cache_get_field_content_float(0, "y");
    Player[playerid][z] = cache_get_field_content_float(0, "z");
    return 1;
}
Reply


Messages In This Thread
MySQL Position Saving - by Keyhead - 06.03.2014, 08:56
Re: MySQL Position Saving - by Misiur - 06.03.2014, 09:02
Re: MySQL Position Saving - by Keyhead - 06.03.2014, 09:07
Re: MySQL Position Saving - by Misiur - 06.03.2014, 09:28
Re: MySQL Position Saving - by Keyhead - 06.03.2014, 14:06
Re: MySQL Position Saving - by Misiur - 06.03.2014, 14:20

Forum Jump:


Users browsing this thread: 1 Guest(s)