Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. public checkparea(playerid)
  2. {
  3. if(PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18)
  4. {
  5. if(IsPlayerInRangeOfPoint(playerid, 8.0, 1246.7843,-767.4252,92.0726))
  6. {
  7. new Float:TempX, Float:TempY, Float:TempZ;
  8. GetPlayerPos(playerid, TempX, TempY, TempZ);
  9. if(TempX == PosX[playerid] && TempY == PosY[playerid] && TempZ == PosZ[playerid])
  10. {
  11. }
  12. else
  13. {
  14. GetPlayerPos(playerid, PosX[playerid], PosY[playerid], PosZ[playerid]);
  15. MoveObject(riderstor,1245.698364, -767.397156, 83.123962,4.0);
  16. SetTimer("closegate", 3000, 0);
  17. }
  18. return 1;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement