How to attach ringtone to player?
#6

Quote:
Originally Posted by cywil
Посмотреть сообщение
Thanks, but I don't have idea how to do that... I never use timers. Thanks for help.
on top of your gamemode
pawn Код:
forward Timer(playerid); //Tells the compiler theres a function called "Timer"
Wherever you want it to update
pawn Код:
SetTimerEx("Timer", 1000, 0, "%d", playerid); //Timer will update every 1000ms, non repeating, has an integer as a type, will do this for playerid
function would be
pawn Код:
public Timer(playerid) //Function that will be called when you run the timer
{
        ...
}
That's in a nutshell how to use timers, read a tutorial about them if you still don't understand.
Reply


Messages In This Thread
How to attach ringtone to player? - by cywil - 30.10.2010, 11:05
Re: How to attach ringtone to player? - by Mauzen - 30.10.2010, 11:12
Re: How to attach ringtone to player? - by cywil - 30.10.2010, 11:35
Re: How to attach ringtone to player? - by cywil - 30.10.2010, 13:37
Re: How to attach ringtone to player? - by cywil - 30.10.2010, 16:25
Re: How to attach ringtone to player? - by Sinner - 30.10.2010, 16:34
Re : How to attach ringtone to player? - by Amine_Mejrhirrou - 30.08.2011, 11:23

Forum Jump:


Users browsing this thread: 1 Guest(s)