Guest User

Svenny555

a guest
Nov 10th, 2009
666
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.51 KB | None | 0 0
  1. //***Script Made By [SDF]Svenny55(Please dont edit or re-upload!!)***
  2. #include <a_samp>
  3.  
  4. #define COLOR_YELLOW 0xFFFF00AA
  5. #if defined FILTERSCRIPT
  6.  
  7.  
  8. public OnFilterScriptInit()
  9. {
  10. print("\n--------------[v.0.2]-----------------");
  11. print("-----Pokerchip deliver minimission------");
  12. print("--------------by Svenny55-------------\n");
  13. return 1;
  14. }
  15.  
  16. public OnFilterScriptExit()
  17. {
  18. print("\n--------------[v.0.2]-----------------");
  19. print("-----Pokerchip deliver minimission------");
  20. print("--------------by Svenny55-------------\n")
  21. return 1;
  22. }
  23.  
  24. #else
  25.  
  26. #endif
  27.  
  28. public OnPlayerCommandText(playerid, cmdtext[])
  29. {
  30. if (strcmp("/pokerm", cmdtext, true) == 0)
  31. {
  32. AddStaticVehicle(414,996.9557,2135.7354,10.8203,82.2873,1,1);
  33. SetPlayerPos(playerid,992.1638,2135.5354,10.3947);
  34. SendClientMessage(playerid,COLOR_YELLOW,"Deliver the poker chips to the casino,");
  35. SendClientMessage(playerid,COLOR_YELLOW,"you will earn 100$! Succes.");
  36. SendClientMessage(playerid,COLOR_YELLOW,"TIP: Go to the checkpoint on");
  37. SendClientMessage(playerid,COLOR_YELLOW,"the map (thats the casino!)");
  38. SetPlayerCheckpoint(playerid,2040.9749,1006.9825,10.2425,3.0);
  39. return 1;
  40. }
  41. return 0;
  42. }
  43.  
  44. public OnPlayerEnterCheckpoint(playerid)
  45. {
  46. RemovePlayerMapIcon( playerid, 51 );
  47. SendClientMessage(playerid,COLOR_YELLOW,"You have succesfully delivered the poker chips!");
  48. SendClientMessage(playerid,COLOR_YELLOW,"You earn 100 $!");
  49. DisablePlayerCheckpoint(playerid);
  50. GivePlayerMoney(playerid,100);
  51. return 1;
  52. }
Advertisement
Add Comment
Please, Sign In to add comment