Guest User

Untitled

a guest
Jul 20th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. GetPlayerName(playerid,PlayerInfo[playerid][Pname],sizeof(string));
  2. format(query,sizeof(query), "SELECT * FROM `infoplayer` WHERE `username`='%s'" ,PlayerInfo[playerid][Pname]);
  3. mysql_function_query(MSQLConnect,query,true,"nada","s",playerid);
  4. mysql_store_result();
  5. cache_get_field_content(0,"Kills",PlayerInfo[playerid][Kills],MSQLConnect);
  6. cache_get_field_content(0,"Deaths",PlayerInfo[playerid][Deaths],MSQLConnect);
  7. cache_get_field_content(0,"Money",PlayerInfo[playerid][Money],MSQLConnect);
  8. cache_get_field_content(0,"Dinheiro",PlayerInfo[playerid][Dinheiro],MSQLConnect);
  9. cache_get_field_content(0,"username",PlayerInfo[playerid][Pname],MSQLConnect);
Add Comment
Please, Sign In to add comment