[Include] e_static ● Easily check player states ● Version 1
#1

e_static
Version 1
Update: 9 June, 2013








Description
Hello friends. This is my simple player state checker. Many scripts need function related to player states like have the player spawned OR Is the player dead or God etc... So this native helps you to do that in your script easily. All you have to do is download this include, wait just read the further instillations and steps to use this include. Thanks and remember , this is my first include.









Natives
pawn Код:
/*
native IsPlayerSpawned(playerid);
native IsPlayerDead(playerid);
native IsPlayerInClassSelection(playerid);
native IsPlayerOnBike(playerid);
native IsPlayerInCar(playerid);
native IsPlayerInBoat(playerid);
native IsPlayerInHelicopter(playerid);
native IsPlayerInAircraft(playerid);
native IsPlayerAfk(playerid);
native IsPlayerInjured(playerid);
native IsPlayerGod(playerid);
native IsPlayerMale(playerid);
native IsPlayerFemale(playerid);
native IsPlayerInWater(playerid);
native IsPlayerOnLand(playerid);
*/
  • IsPlayerSpawned(playerid);
Function: Checks whether the player is spawned or not.
  • IsPlayerDead(playerid);
Function: Checks whether the player is dead or not.
  • IsPlayerInClassSelection(playerid);
Function: Checks whether the player is selecting class or not.
  • IsPlayerOnBike(playerid);
Function: Checks whether the player is on bike or not.
  • IsPlayerInCar(playerid);
Function: Checks whether the player is in car or not.
  • IsPlayerInBoat(playerid);
Function: Check whether the player is in boat or not.
  • IsPlayerInHelicopter(playerid);
Function: Check whether the player is in helicopter or not.
  • IsPlayerInAircraft(playerid);
Function: Check whether the player is in any aircraft or not.
  • IsPlayerAfk(playerid);
Function: Check whether the player away from keyboard (AFK) or not.
  • IsPlayerInjured(playerid);
Function: Check whether the player having low hp or not.
  • IsPlayerGod(playerid);
Function: Check whether the player having hp more than 100 or not.
  • IsPlayerMale(playerid);
Function: Check whether the player having male skin or not.
  • IsPlayerFemale(playerid);
Function: Check whether the player having female skin or not.
  • IsPlayerInWater(playerid);
Function: Check whether the player is in water or not.
  • IsPlayerOnLand(playerid);
Function: Check whether the player is on land or not.








Download
PasteBin
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)