SA-MP Forums

SA-MP Forums (https://forum.sa-mp.com/index.php)
-   Help Archive (https://forum.sa-mp.com/forumdisplay.php?f=89)
-   -   Need filter Adminfilterscript/include!!! (https://forum.sa-mp.com/showthread.php?t=166101)

shadow_ghost 07/08/2010 12:04 PM

Need filter Adminfilterscript/include!!!
 
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
http://www.shareyouraim.com/at_1223905.png
THANKS

selten98 07/08/2010 12:19 PM

Re: Need filter Adminfilterscript/include!!!
 
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


All times are GMT. The time now is 01:07 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.