View Single Post
Old 07/08/2010, 12:19 PM   #2
selten98
Big Clucker
 
Join Date: May 2010
Location: Netherlands
Posts: 192
Reputation: 2
Default 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
selten98 is offline