Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- /* |___Forward___| */
- forward JelkaRadosti(playerid);
- /* |___Define___| */
- #define MAX_NOVAC 666
- /* |___New___| */
- new RandomNovac;
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" FS Jelka v1.0 by: David aka. eXtreme ");
- print("--------------------------------------\n");
- /* |___Timeri___| */
- SetTimer("JelkaRadosti",60000*30,1);
- /* |___Objekti___| */
- CreateObject(19076,1143.42333984,-929.74963379,42.20213318,0.00000000,0.00000000,0.00000000);
- return 1;
- }
- public JelkaRadosti(playerid)
- {
- if(IsPlayerInRangeOfPoint(playerid, 10, 1144.0874, -929.6754, 43.1901))
- {
- new string[48];
- RandomNovac = random(MAX_NOVAC);
- GivePlayerMoney(playerid,RandomNovac);
- format(string, sizeof(string), "~r~Cestitamo~y~!~w~Dobili ste $%d od ~g~Jelke Srece~r~!!!.",RandomNovac);
- GameTextForPlayer(playerid,string, 5000, 0);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment