Guest User

add for SAMP 0.3c

a guest
Dec 31st, 2010
621
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. if (IsPlayerInRangeOfPoint(playerid, 1,1821.9,-1611.5,13.3) || IsPlayerInRangeOfPoint(playerid, 1,1821.6,-1747.4,13.3) || IsPlayerInRangeOfPoint(playerid, 1,1690.2,-1732.1,13.3) || IsPlayerInRangeOfPoint(playerid, 1,1689.0,-1592.3,13.37) || IsPlayerInRangeOfPoint(playerid, 1,1428.96,-1592.07,13.39) || IsPlayerInRangeOfPoint(playerid, 1,1429.64,-1731.93,13.38) || IsPlayerInRangeOfPoint(playerid, 1,1529.63,-1732.95,13.39))
  2. {
  3. if(IsPlayerConnected(playerid))
  4. {
  5. if(!IsPlayerInAnyVehicle(playerid))
  6. {
  7. new speed = GetPlayerSpeed(giveplayerid, true);
  8. if(speed >= 121)
  9. {
  10. if(IsAPDMember(playerid) && PlayerInfo[playerid][pDBanned] == 0)
  11. {
  12. SendClientMessage(playerid, COLOR_GRAD1, "Check your speed");
  13. }
  14. if(IsAnFbi(playerid) && PlayerInfo[playerid][pDBanned] == 0)
  15. {
  16. SendClientMessage(playerid, COLOR_GRAD1, "Check your speed");
  17. }
  18. if(IsAnNg(playerid) && PlayerInfo[playerid][pDBanned] == 0)
  19. {
  20. SendClientMessage(playerid, COLOR_GRAD1, "Check your speed");
  21. }
  22. else
  23. {
  24. SendClientMessage(playerid, COLOR_GRAD1, "Busted: You have been captured by a SpeedCamera");
  25. {WantedPoints[giveplayerid]+= 2; }
  26. }
  27. }
  28. }
  29. }
  30. return 1;
  31. }
Advertisement
Add Comment
Please, Sign In to add comment