SA-MP Forums Archive
Need filter Adminfilterscript/include!!! - 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: Need filter Adminfilterscript/include!!! (/showthread.php?tid=166101)



Need filter Adminfilterscript/include!!! - shadow_ghost - 07.08.2010

hello,
i need filterscript that have strong admin system and has these featuer>>>>
1)position save
2)gun save
3)money save
IF U has link plz pm me or put in this threat
TRY THAT IT IS INCLUDE

THANKS


Re: Need filter Adminfilterscript/include!!! - selten98 - 07.08.2010

pawn Code:
/*try with this like making it urself:*/
enum pInfo {
   x,
   y,
   z,
   money,
   pass
};
new PData[MAX_PLAYERS][PInfo];
and than OnPlayerDisconnect:
pawn Code:
public OnPlayerDisconnect(playerid)
{
   pData[playerid][money] =GetPlayerMoney(playerid);
   new Float:x,Float:y,Float:z;
   GetPlayerPos(playerid,x,y,z);
   dUserSetINT(PlayerName(playerid)).("xpos",x);
   dUserSetINT(PlayerName(playerid)).("ypos",y);
   dUserSetINT(PlayerName(playerid)).("zpos",z);
   dUserSetINT(PlayerName(playerid)).("money",PData[playerid][money]);
   dUserSetINT(PlayerName(playerid)).("gun1",GetPlayerWeapon[playerid]);
   dUserSetINT(PlayerName(playerid)).("ammo1",GetPlayerAmmo[playerid]);
}
You Can Make it like this
but if you dont have scripting expirience i would prefer Ladmin V4.2 by Lethal