SA-MP Forums Archive
GetPlayerWeaponData [ help ] Y_INI +rep - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: GetPlayerWeaponData [ help ] Y_INI +rep (/showthread.php?tid=333128)



GetPlayerWeaponData [ help ] Y_INI +rep - RicaNiel - 10.04.2012

Guys i am having trouble with this one and so confused
i want to save all player data

so i have created the

enum balh
{
weapon1
ammo1
}

and etc

so i have this OnPlayerDisconnect

INI_WriteInt(balh,"Weapon1",
INI_WriteIny(alh,"Ammo2"

what should i do? to save them?


Re: GetPlayerWeaponData [ help ] Y_INI +rep - TzAkS. - 10.04.2012

https://sampwiki.blast.hk/wiki/GetPlayerWeaponData

You need to do for 12 slots to save all