Guest User

Untitled

a guest
Dec 15th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. if(IsAFBI(playerid))
  2. {
  3. if(!IsPlayerInRangeOfPoint(playerid, 2.2,265.7115,109.6579,1004.6172)) return SendClientMessage(playerid, COLOR_GREY, "You aren't near your locker.");
  4. ShowDialog(playerid, 5);
  5. }
  6.  
  7.  
  8. This is how the command works
  9.  
  10. if(IsACop<this is where the faction name goes>(playerid))
  11. { Range POSx POSz POSy
  12. if(!IsPlayerInRangeOfPoint(playerid, 2.2,256.2174,77.3295,1004.0344)) return SendClientMessage(playerid, COLOR_GREY, "You aren't near your locker.");
  13. ShowDialog(playerid, 5);
  14. }
Add Comment
Please, Sign In to add comment