Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- public OnFilterScriptInit ( )
- {
- new ftimeban[32], ftime, czas;
- czas = 100000;
- if((ftime = floatround(((czas) / 86400)), ftime) > 0)
- format(ftimeban, sizeof(ftimeban), "na %d dni", ftime);
- else if((ftime = floatround(((czas) / 3600)), ftime) > 0)
- format(ftimeban, sizeof(ftimeban), "na %d godzin", ftime);
- else if((ftime = floatround(((czas) / 60) % 60), ftime) > 0)
- format(ftimeban, sizeof(ftimeban), "na %d minut", ftime);
- else
- format(ftimeban, sizeof(ftimeban), "mniej niż minutę...");
- printf(ftimeban);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement