2 Questions
#1

How do i make a command that auto activates itself every 10 minutes? Like it acts like someone typeing /command every 10 minutes. How i do that?

And...

How do i intigrate MidoStream into my server? Like how do i add objects?
Reply
#2

Use, CallLocalFunction("OnPlayerCommandText", "is", playerid, "/YOURCOMMAND");
Put it under a 10 min timer
Reply
#3

Please read in the wiki some articles about Timer and if you are looking the way how to add objects look into MidoStreamers topic.
Reply
#4

can someone tell me how to make a timer cause im not finding it
Reply
#5

If you want a little tutorial of the functions in PAWNO. Just ****** it. Example SAMP Timers
And look of [close name to what you searched for here] - SA-MP Wiki
In this case you would see SetTimer - SA-MP Wiki

Click Me
Reply
#6

Here
pawn Код:
forward FUCK();
public OnGameModeInit()
{
    SetTimer("FUCK",600000,true); // 600000 is 10 mins
}
public FUCK()
{
    CallLocalFunction("OnPlayerCommandText", "is", playerid,"/YOURCOMMAND");
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)