Advertisement
RogerGomesCosta

Untitled

Jul 17th, 2014
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. GetPlayerPos(playerid, PlayerInfo[playerid][pX], PlayerInfo[playerid][pY], PlayerInfo[playerid][pZ]);
  2. GetPlayerFacingAngle(playerid, PlayerInfo[playerid][pA]);
  3. format(posStr, sizeof posStr, "%f %f %f %f", PlayerInfo[playerid][pX], PlayerInfo[playerid][pY], PlayerInfo[playerid][pZ], PlayerInfo[playerid][pA]);
  4.  
  5. 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));
  6. db_query(DataBase, szString);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement