How to set player to lose weapons after he leave the server - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How to set player to lose weapons after he leave the server (
/showthread.php?tid=71309)
How to set player to lose weapons after he leave the server -
Frankox - 31.03.2009
How i can make player to lose his weapons after he leaves the server?
Re: How to set player to lose weapons after he leave the server -
Norn - 31.03.2009
The player will lose his weapons when he leaves the server unless your saving them to a file.
Re: How to set player to lose weapons after he leave the server -
kaisersouse - 31.03.2009
Quote:
Originally Posted by Norn
The player will lose his weapons when he leaves the server unless your saving them to a file.
|
Quasi-true. Sometimes shit happens and you a person reconnects after a crash and end up with another recently-departed players settings.
OP:
in OnPlayerDisconnect
Code:
RemovePlayerWeapons(playerid);
Re: How to set player to lose weapons after he leave the server -
Norn - 31.03.2009
Quote:
Originally Posted by kaisersouse
Quote:
Originally Posted by Norn
The player will lose his weapons when he leaves the server unless your saving them to a file.
|
Quasi-true. Sometimes shit happens and you a person reconnects after a crash and end up with another recently-departed players settings.
OP:
in OnPlayerDisconnect
Code:
RemovePlayerWeapons(playerid);
|
ResetPlayerWeapons(playerid);
Re: How to set player to lose weapons after he leave the server -
Frankox - 31.03.2009
Quote:
Originally Posted by Norn
Quote:
Originally Posted by kaisersouse
Quote:
Originally Posted by Norn
The player will lose his weapons when he leaves the server unless your saving them to a file.
|
Quasi-true. Sometimes shit happens and you a person reconnects after a crash and end up with another recently-departed players settings.
OP:
in OnPlayerDisconnect
Code:
RemovePlayerWeapons(playerid);
|
ResetPlayerWeapons(playerid);
|
Tnx, btw anyone of you knows this thing: I made a gangzone(gangs are: ballas,grove and vagos, so i made 3 gangzone\'s and they are working) but the thing what i want to make is for other gang to make some gangzone to be his.
If you understend what i mean.