Guest User

Jelka Srece

a guest
Dec 24th, 2010
455
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. #include <a_samp>
  2.  
  3. /* |___Forward___| */
  4. forward JelkaRadosti(playerid);
  5. /* |___Define___| */
  6. #define MAX_NOVAC 666
  7. /* |___New___| */
  8. new RandomNovac;
  9.  
  10. public OnFilterScriptInit()
  11. {
  12. print("\n--------------------------------------");
  13. print(" FS Jelka v1.0 by: David aka. eXtreme ");
  14. print("--------------------------------------\n");
  15. /* |___Timeri___| */
  16. SetTimer("JelkaRadosti",60000*30,1);
  17. /* |___Objekti___| */
  18. CreateObject(19076,1143.42333984,-929.74963379,42.20213318,0.00000000,0.00000000,0.00000000);
  19. return 1;
  20. }
  21.  
  22. public JelkaRadosti(playerid)
  23. {
  24. if(IsPlayerInRangeOfPoint(playerid, 10, 1144.0874, -929.6754, 43.1901))
  25. {
  26. new string[48];
  27. RandomNovac = random(MAX_NOVAC);
  28. GivePlayerMoney(playerid,RandomNovac);
  29. format(string, sizeof(string), "~r~Cestitamo~y~!~w~Dobili ste $%d od ~g~Jelke Srece~r~!!!.",RandomNovac);
  30. GameTextForPlayer(playerid,string, 5000, 0);
  31. }
  32. return 1;
  33. }
Advertisement
Add Comment
Please, Sign In to add comment