legodude

legodude

Jul 9th, 2010
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 2.26 KB | None | 0 0
  1. #define FILTERSCRIPT
  2. //remind to use Save As
  3. #include <a_samp>
  4.  
  5. public OnFilterScriptInit()
  6. {
  7.     print("\n--------------------------------------");
  8.     print(" Blank Filterscript by your name here");
  9.     print("--------------------------------------\n");
  10.     return 1;
  11. }
  12.  
  13. public OnFilterScriptExit()
  14. {
  15.     return 1;
  16. }
  17.  
  18. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  19. {
  20.     if(IsPlayerConnected(clickedplayerid)&&IsPlayerAdmin(playerid))
  21.     {
  22.         new Float:x,Float:y,Float:z,Float:rot,Float:HP,Float:Armour,IP[16], name[MAX_PLAYER_NAME];
  23.         GetPlayerPos(clickedplayerid,x,y,z);//
  24.         GetPlayerFacingAngle(clickedplayerid,rot);//
  25.         new interior = GetPlayerInterior(clickedplayerid);
  26.         GetPlayerHealth(clickedplayerid,HP);//
  27.         GetPlayerArmour(clickedplayerid,Armour);//
  28.         new score = GetPlayerScore(clickedplayerid);//
  29.         new color = GetPlayerColor(clickedplayerid);//
  30.         new skin = GetPlayerSkin(clickedplayerid);//
  31.         new cash = GetPlayerMoney(clickedplayerid);//
  32.         GetPlayerIp(clickedplayerid, IP, sizeof(IP));//
  33.         new ping = GetPlayerPing(clickedplayerid);//
  34.         GetPlayerName(clickedplayerid, name, sizeof(name));//
  35.         new wanted = GetPlayerWantedLevel(clickedplayerid);//
  36.         new fight = GetPlayerFightingStyle(clickedplayerid);//
  37.         new Float:Vx,Float:Vy,Float:Vz;//
  38.         GetPlayerVelocity(clickedplayerid, Vx, Vy, Vz);//
  39.         new inveh = IsPlayerInAnyVehicle(clickedplayerid);//
  40.         new vehid = GetPlayerVehicleID(clickedplayerid);//
  41.         new seat = GetPlayerVehicleSeat(clickedplayerid);//
  42.         new vworld = GetPlayerVirtualWorld(clickedplayerid);//
  43.         new admin = IsPlayerAdmin(clickedplayerid);//
  44.         new dialogstring1[500],caption[MAX_PLAYER_NAME+12];
  45.         format(dialogstring1,sizeof(dialogstring1),"Name:%s\nScore:%i\nColor:%s\nSkin:%i\nHealth:%d\nArmour:%d\nWanted:%i\nCash:%i\nIn vehicle:%i\nVehicleID:%i\nRCON:%i\nSeat:%i\nXvelocity:%d\nYvelocity:%d\nZvelocity:%d\nXposition:%d\nYposition:%d\nZposition:%d\nRotation:%d\nVirtualWorld:%i\nInterior:%i\nFightStyle:%s\nPing:%i\nIP:%s",name,score,color,skin,HP,Armour,wanted,cash,inveh,vehid,admin,seat,Vx,Vy,Vz,x,y,z,rot,vworld,interior,fight,ping,IP);
  46.         format(caption,sizeof(caption),"info about: %s",name);
  47.         ShowPlayerDialog(playerid,playerid*clickedplayerid,DIALOG_STYLE_MSGBOX,caption,dialogstring1,"Ok","Exit");
  48.     }
  49.     return 1;
  50. }
Add Comment
Please, Sign In to add comment