Timer problem
#1

Hi guys.

I have a problem with my timer:

Quote:

SetTimerEx("EtapeInscription", 5000, true, "is", 1337, "hello!",playerid);

He is not executed...
I don't know ...

Cordialement
Reply
#2

SetTimerEx("EtapeInscription", 5000, true, "isi", 1337, "hello!",playerid);
Reply
#3

@EDIT, i don't saw your post... /\

Can you show me function "EtapeInscription" ?

about the problem, i think the timer got a error...

pawn Код:
SetTimerEx("EtapeInscription", 5000, true, "isi", 1337, "hello!", playerid);
Reply
#4

Not that.

pawn Код:
public EtapeInscription(playerid)
{
    PlayAudioStreamForPlayer(playerid, "http://sound.fanatik-stunt.fr/Skrillex-Cinema.mp3");
    for(new i = 0; i < 50; i++) SendClientMessage(playerid,COLOR_WHITE," ");
    TextDrawShowForPlayer(playerid,Bande1[playerid]);
    TextDrawShowForPlayer(playerid,Bande2[playerid]);
    TogglePlayerControllable(playerid,0);
    printf("etape=%d",etape[playerid]);
    SetPlayerPos(playerid,2870.6770,-1057.2865,78.2919);
    InterpolateCameraPos(playerid,2885.6770,-1058.2865,78.2919,2848.9089,-2111.8860,50.3404,130000,CAMERA_MOVE);
    InterpolateCameraLookAt(playerid,1615.6670,-1750.8917,84.7949,1615.6670,-1750.8917,84.7949,130000,CAMERA_MOVE);
    if(etape[playerid] == 0)
    {
         etape[playerid]++;
         printf("etape=%d",etape[playerid]);
         SetTimerEx("EtapeInscription", 5000, true, "isi", 1337, "hello!",playerid);
         return 1;
    }
    if(etape[playerid] == 1)
    {
              TextDrawShowForPlayer(playerid,Text:Tutoriel1[playerid]);
              etape[playerid]++;
             // SetTimerEx("EtapeInscription", 5000, false, "is", 1337, "hello!",playerid);
              return 1;
    }
    return 1;
}
Reply
#5

EDIT: Slow post, sorry.
Reply
#6

This function only got 1 parameter, 'playerid'

Try this:
pawn Код:
SetTimerEx("EtapeInscription", 5000, true, "i", playerid);
Reply
#7

Quote:
Originally Posted by Willian_Luigi
Посмотреть сообщение
This function only got 1 parameter, 'playerid'

Try this:
pawn Код:
SetTimerEx("EtapeInscription", 5000, true, "i", playerid);
Thanks

Look your reput
Reply
#8

Quote:
Originally Posted by jcvag44800
Посмотреть сообщение
Thanks

Look your reput
Yah, thanks...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)