18.01.2010, 18:10
For Weapons use this functions:
// All credits for Amit_Barami (Amit B).
Top of script:
and for the Hunter/Hydra system, use IsPlayerInArea / PlayerToPoint function in OnPlayerUpdate callback.
// All credits for Amit_Barami (Amit B).
Top of script:
pawn Код:
new pWeapons[MAX_PLAYERS][13][2];
pawn Код:
stock SavePlayerWeapons(playerid)
{
for(new i=0;i<13;i++)
{
GetPlayerWeaponData(playerid,i,pWeapons[playerid][i][0],pWeapons[playerid][i][1]);
}
return 1;
}
pawn Код:
stock LoadPlayerWeapons(playerid)
{
for(new i=0;i<13;i++) GivePlayerWeapon(playerid,pWeapons[playerid][i][0],pWeapons[playerid][i][1]);
return 1;
}