Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define FILTERSCRIPT
- #include <a_samp>
- #if defined FILTERSCRIPT
- // Define ...
- #define PremioOnline 10000
- // Forward ...
- forward PremiosOnline();
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" FS Premio Online by Boliva");
- print("--------------------------------------\n");
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- SetTimerEx("PremiosOnline", 1200000, true, "i", playerid);
- return 1;
- }
- #else
- main()
- {
- print("\n----------------------------------");
- print(" FS Premio-Online by Boliva");
- print("----------------------------------\n");
- }
- /*public OnPlayerDeath(playerid, killerid, reason)
- {
- SetPlayerScore(killerid, GetPlayerScore(killerid)+1);
- return 1;
- }*/
- //Descomente a public acima caso queira level por kill...
- #endif
- forward PremiosOnline(i);
- public PremiosOnline(i)
- {
- new string[128];
- GivePlayerMoney(i, PremioOnline);
- format(string, sizeof(string), "{FFFFFF}Você recebeu {00FF00}[R$%d] {FFFFFF}Por ficar online por 20 Minutos.", PremioOnline);
- SendClientMessage(i, 0x0000FFFF, string);
- return 1;
- }
Add Comment
Please, Sign In to add comment