06.04.2012, 15:35
To reset weapons on death you would add this under OnPlayerDeath.
So it would end up looking something like this.
About saving guns when a player logs off, we need to know what saving system you are using (if you even have one).
So it would end up looking something like this.
pawn Код:
public OnPlayerDeath(playerid,killerid)
{
ResetPlayerWeapons(playerid);
// rest of your code here
return 1;
}