Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- forward TLivello2(playerid)
- SetTimerEx("TLivello2", 1000, true, "i", playerid); // <--------- Timer
- public TLivello2(playerid)
- {
- if(GetPlayerScore(playerid) == 2)
- {
- GameTextForPlayer(playerid, "Livello 2!", 5000, 1);
- new INI:File2 = INI_Open(TrofeiUtente(playerid));
- INI_WriteInt(File2,"Livello2",1);
- INI_Close(File2);
- KillTimer(TLivello2(playerid));
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement