SA-MP Forums Archive
OnPlayerDisconnect - 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: OnPlayerDisconnect (/showthread.php?tid=497624)



OnPlayerDisconnect - TLN - 27.02.2014

Fixed.


Re: OnPlayerDisconnect - Aerotactics - 27.02.2014

Could you show the script that counts each time a player arrests someone?


Re: OnPlayerDisconnect - TLN - 27.02.2014

Not sure if this is right but eh.. :P
pawn Код:
PlayerInfo[playerid][pArrests]++;



Re: OnPlayerDisconnect - TLN - 27.02.2014

Never mind.


Re: OnPlayerDisconnect - PowerPC603 - 27.02.2014

Remove the spaces in your INI-tags:
"Players Robbed" should become "PlayersRobbed" for example.
Since all single-word tags are saving only once, and all your 2-worded tags are saved multiple times, this would be my guess.


Re: OnPlayerDisconnect - TLN - 27.02.2014

Ugh, didn't think about that.
Thanks PowerPC.