Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // KURE URAGANAS 2012-09-10 (NETRINTI BE LEIDIMO,ARBA SUTIKIMO)
- // Registruojames i http://smsrun.com ir gauname pradinius 30cnt. Naudotas SMSRUN.com API,
- // Jei norite investuoti papildysite saskaita vienos zinutes kaina 0.85cnt.
- // Skaiciuokite patys
- // REIKALINGA
- // MADAFAKA :DD
- #define FILTERSCRIPT
- #include <a_samp>
- #include <a_http> // Atsisiusite :)
- #define SMSU "[email protected]" //nickas smsrune{el.pastas}
- #define SMSP "123456" // Paswordas smsrune
- #define SMST "+37067131458" // Numeris i kuri gausite zinute.
- #define SMSX "+37060889310" // NUmeris arba vardas kuris bus uzrasytas kaip siuntejas. :)
- public OnFilterScriptInit(){
- SetTimer("TimerPublic",1000*60*360,false);
- TimerPublic();
- return 1;
- }
- forward TimerPublic();
- public TimerPublic(){
- SetTimer("TimerPublic",1000*60*360,false);
- new string[100];
- format(string, sizeof(string), "http://smsrun.com/api?cmd=send&email="SMSU"&password="SMSP"&phone="SMST"&from="SMSX"&text=SAMP+SERVERYJE+ZAIDEJU:+%d", ConnectedPlayers());
- HTTP(1, HTTP_GET, string, "", "");
- return 1;
- }
- forward ConnectedPlayers();
- public ConnectedPlayers(){
- new Connected;
- for(new i = 0; i < MAX_PLAYERS; i++) if(IsPlayerConnected(i) && !IsPlayerNPC(i)) Connected++;
- return Connected;
- }
Advertisement
Add Comment
Please, Sign In to add comment