Guest User

Svenny555

a guest
Nov 10th, 2009
400
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.55 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--------------------------------------");
  11. print("-----Pokerchip deliver minimission------");
  12. print("--------------by Svenny55-------------\n");
  13. return 1;
  14. }
  15.  
  16. public OnFilterScriptExit()
  17. {
  18. print("\n--------------------------------------");
  19. print("-----Pokerchip deliver minimission------");
  20. print("--------------by Svenny55-------------\n")
  21. return 1;
  22. }
  23.  
  24. #else
  25.  
  26. #endif
  27.  
  28. new pokerm;
  29.  
  30. public OnPlayerCommandText(playerid, cmdtext[])
  31. {
  32. if (strcmp("/pokerm", cmdtext, true) == 0)
  33. {
  34. SetPlayerPos(playerid,992.1638,2135.5354,10.3947);
  35. SendClientMessage(playerid,COLOR_YELLOW,"Deliver the poker chips to the casino,");
  36. SendClientMessage(playerid,COLOR_YELLOW,"you will earn 100$! Succes.");
  37. SendClientMessage(playerid,COLOR_YELLOW,"TIP: Go to the truck icon on");
  38. SendClientMessage(playerid,COLOR_YELLOW,"the map (thats the casino!)");
  39. SetPlayerMapIcon(playerid, 51, 2040.9749,1006.9825,10.2425, 51, 1);
  40. pokerm = CreatePickup(1318, 2, 2040.9749,1006.9825,10.2425, -1);
  41. return 1;
  42. }
  43. return 0;
  44. }
  45.  
  46. public OnPlayerPickUpPickup(playerid, pickupid)
  47. {
  48. if(pickupid == pokerm) DestroyPickup(pokerm);
  49. RemovePlayerMapIcon( playerid, 51 );
  50. SendClientMessage(playerid,COLOR_YELLOW,"You have succesfully delivered the poker chips!");
  51. SendClientMessage(playerid,COLOR_YELLOW,"You earn 100 $!");
  52. GivePlayerMoney(playerid,100);
  53. return 1;
  54. }
Advertisement
Add Comment
Please, Sign In to add comment