Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define FILTERSCRIPT
- //remind to use Save As
- #include <a_samp>
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Blank Filterscript by your name here");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- public OnPlayerClickPlayer(playerid, clickedplayerid, source)
- {
- if(IsPlayerConnected(clickedplayerid)&&IsPlayerAdmin(playerid))
- {
- new Float:x,Float:y,Float:z,Float:rot,Float:HP,Float:Armour,IP[16], name[MAX_PLAYER_NAME];
- GetPlayerPos(clickedplayerid,x,y,z);//
- GetPlayerFacingAngle(clickedplayerid,rot);//
- new interior = GetPlayerInterior(clickedplayerid);
- GetPlayerHealth(clickedplayerid,HP);//
- GetPlayerArmour(clickedplayerid,Armour);//
- new score = GetPlayerScore(clickedplayerid);//
- new color = GetPlayerColor(clickedplayerid);//
- new skin = GetPlayerSkin(clickedplayerid);//
- new cash = GetPlayerMoney(clickedplayerid);//
- GetPlayerIp(clickedplayerid, IP, sizeof(IP));//
- new ping = GetPlayerPing(clickedplayerid);//
- GetPlayerName(clickedplayerid, name, sizeof(name));//
- new wanted = GetPlayerWantedLevel(clickedplayerid);//
- new fight = GetPlayerFightingStyle(clickedplayerid);//
- new Float:Vx,Float:Vy,Float:Vz;//
- GetPlayerVelocity(clickedplayerid, Vx, Vy, Vz);//
- new inveh = IsPlayerInAnyVehicle(clickedplayerid);//
- new vehid = GetPlayerVehicleID(clickedplayerid);//
- new seat = GetPlayerVehicleSeat(clickedplayerid);//
- new vworld = GetPlayerVirtualWorld(clickedplayerid);//
- new admin = IsPlayerAdmin(clickedplayerid);//
- new dialogstring1[500],caption[MAX_PLAYER_NAME+12];
- 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);
- format(caption,sizeof(caption),"info about: %s",name);
- ShowPlayerDialog(playerid,playerid*clickedplayerid,DIALOG_STYLE_MSGBOX,caption,dialogstring1,"Ok","Exit");
- }
- return 1;
- }
Add Comment
Please, Sign In to add comment