daily pastebin goal
4%
SHARE
TWEET

Untitled

a guest Dec 7th, 2017 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. stock SaveGuns(playerid)
  2. {
  3.     GetPlayerWeaponData(playerid, 1, SQL_SetInt(GetPVarInt(playerid, "user_id"), "accounts", "pGun1"), SQL_SetInt(GetPVarInt(playerid, "user_id"), "accounts", "pAmmo1"));
  4.     GetPlayerWeaponData(playerid, 2, SQL_SetInt(GetPVarInt(playerid, "user_id"), "accounts", "pGun2"), SQL_SetInt(GetPVarInt(playerid, "user_id"), "accounts", "pAmmo2"));
  5.     GetPlayerWeaponData(playerid, 3, SQL_SetInt(GetPVarInt(playerid, "user_id"), "accounts", "pGun3"), SQL_SetInt(GetPVarInt(playerid, "user_id"), "accounts", "pAmmo3"));
  6.     GetPlayerWeaponData(playerid, 4, SQL_SetInt(GetPVarInt(playerid, "user_id"), "accounts", "pGun4"), SQL_SetInt(GetPVarInt(playerid, "user_id"), "accounts", "pAmmo4"));
  7.     GetPlayerWeaponData(playerid, 5, SQL_SetInt(GetPVarInt(playerid, "user_id"), "accounts", "pGun5"), SQL_SetInt(GetPVarInt(playerid, "user_id"), "accounts", "pAmmo5"));
  8.     GetPlayerWeaponData(playerid, 6, SQL_SetInt(GetPVarInt(playerid, "user_id"), "accounts", "pGun6"), SQL_SetInt(GetPVarInt(playerid, "user_id"), "accounts", "pAmmo6"));
  9.     GetPlayerWeaponData(playerid, 7, SQL_SetInt(GetPVarInt(playerid, "user_id"), "accounts", "pGun7"), SQL_SetInt(GetPVarInt(playerid, "user_id"), "accounts", "pAmmo7"));
  10.     GetPlayerWeaponData(playerid, 8, SQL_SetInt(GetPVarInt(playerid, "user_id"), "accounts", "pGun8"), SQL_SetInt(GetPVarInt(playerid, "user_id"), "accounts", "pAmmo8"));
  11.     GetPlayerWeaponData(playerid, 9, SQL_SetInt(GetPVarInt(playerid, "user_id"), "accounts", "pGun9"), SQL_SetInt(GetPVarInt(playerid, "user_id"), "accounts", "pAmmo9"));
  12.     GetPlayerWeaponData(playerid, 10, SQL_SetInt(GetPVarInt(playerid, "user_id"), "accounts", "pGun10"), SQL_SetInt(GetPVarInt(playerid, "user_id"), "accounts", "pAmmo10"));
  13.     GetPlayerWeaponData(playerid, 11, SQL_SetInt(GetPVarInt(playerid, "user_id"), "accounts", "pGun11"), SQL_SetInt(GetPVarInt(playerid, "user_id"), "accounts", "pAmmo11"));
  14.     GetPlayerWeaponData(playerid, 12, SQL_SetInt(GetPVarInt(playerid, "user_id"), "accounts", "pGun12"), SQL_SetInt(GetPVarInt(playerid, "user_id"), "accounts", "pAmmo12"));
  15.     return 1;
  16. }
RAW Paste Data
Top