Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GetPlayerPos(playerid, PlayerInfo[playerid][pX], PlayerInfo[playerid][pY], PlayerInfo[playerid][pZ]);
- GetPlayerFacingAngle(playerid, PlayerInfo[playerid][pA]);
- format(posStr, sizeof posStr, "%f %f %f %f", PlayerInfo[playerid][pX], PlayerInfo[playerid][pY], PlayerInfo[playerid][pZ], PlayerInfo[playerid][pA]);
- format(szString, sizeof szString, "UPDATE Users SET Money = '%d', Position = '%s', Skin = %d, Interior = %d WHERE ID = %d", PlayerInfo[playerid][playermoney], posStr, PlayerInfo[playerid][pSkin], GetPlayerInterior(playerid), GetPlayerName(playerid));
- db_query(DataBase, szString);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement