Guest User

Passer Code Version Menu

a guest
Mar 11th, 2010
395
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if(strcmp(cmdtext, "/passercode",true)==0)
  2. {
  3. if(IsPlayerConnected(playerid))
  4. {
  5. if(PlayerToPoint(5.0, playerid,1492.9873,1304.9100,1093.2891))
  6. {
  7. if(PlayerInfo[playerid][pLevel] > 0)
  8. {
  9. if(PlayerInfo[playerid][pCarLic] < 1)
  10. {
  11. if(pTest[playerid] == 0)
  12. {
  13. if(GetPlayerMoney(playerid) >= 500)
  14. {
  15. SetPlayerInterior(playerid,3);
  16. TogglePlayerControllable(playerid, 0);
  17. GameTextForPlayer(playerid, "~r~Suivez les instructions !",5000,3);
  18. IO1(playerid);
  19. SetTimerEx("IO2", 20000, 0, "d", playerid);
  20. SetTimerEx("IO3", 40000, 0, "d", playerid);
  21. SetTimerEx("IO4", 60000, 0, "d", playerid);
  22. SetTimerEx("IO5", 80000, 0, "d", playerid);
  23. SetTimerEx("IO6", 60000, 0, "d", playerid);
  24. SetTimerEx("IO7", 100000, 0, "d", playerid);
  25. }
  26. else
  27. {
  28. SendClientMessage(playerid, COLOR_GREY, "Vous n'avez pas assez d'argent pour passer le test!");
  29. return 1;
  30. }
  31. }
  32. else
  33. {
  34. SendClientMessage(playerid, COLOR_GREY, "Vous êtes déjà en train de le passer !");
  35. return 1;
  36. }
  37. }
  38. else
  39. {
  40. SendClientMessage(playerid, COLOR_GREY, "Vous avez déjà votre permis de conduire !");
  41. return 1;
  42. }
  43. }
  44. else
  45. {
  46. SendClientMessage(playerid, COLOR_GREY, "Vous n'avez pas le niveau requis.");
  47. return 1;
  48. }
  49. }
  50. return 1;
  51. }
  52. return 1;
  53. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×