Quote:
Originally Posted by XoSarahMoX
Okay so umm I create a:
under eNum?
Then I make it something like this in OnPlayerDisconnect?:
Code:
new pWeapons;
pSkins = GetPlayerWeapon(playerid);
dini_IntSet(file, "Weapon",pWeapons);
And in OnPlayerConnect I do this?:
Code:
GivePlayerWeapon(playerid, dini_Int(file, "Weapon"));
Is that right? And if it is wouldnt the player still be able to spawn a weapon and make it become saved in their Dini file? Also how can I save the ammo of that weapon? Thanks for help and im sorry im really new to the scripting .
|
That wont stop them spawning a weapon, dude. You can spawn any weapons you want, without getting banned or anything, and leave, and it justs gets the weapon id and next time when he logins (even without hacks), he will get his before hacked weapons by server itself.