[Ajuda] Undefinid Symbol Playerid
#6

Quote:
Originally Posted by arakuta
Посмотреть сообщение
Use SetTimerEx para passar a variбvel playerid para a callback.

Um exemplo simples seria:

pawn Код:
forward MinhaCallback(int,Float:flo,str[]);

//local aleatуrio
SetTimerEx("MinhaCallback",1000,false,"dfs",10,1.30,"Teste");

public MinhaCallback(int,Float:flo,str[])
{
    printf("Foram passados: %d, %f, %s",int,flo,str);
    // vai printar: "Foram passados: 10, 1.30, Teste"
    return 1;
}
@edit

@focaxihmuh

Seu cуdigo й um falso-funcional.
ok '-'
Reply


Messages In This Thread
Undefinid Symbol Playerid - by JuniiorZ - 04.12.2013, 22:06
Re: Undefinid Symbol Playerid - by focaximubh - 04.12.2013, 22:10
Re: Undefinid Symbol Playerid - by arakuta - 04.12.2013, 22:11
Re: Undefinid Symbol Playerid - by JuniiorZ - 04.12.2013, 22:12
Re: Undefinid Symbol Playerid - by Schocc - 04.12.2013, 23:19
Re: Undefinid Symbol Playerid - by focaximubh - 04.12.2013, 23:38
Re: Undefinid Symbol Playerid - by GReeN_WOoD - 05.12.2013, 00:08

Forum Jump:


Users browsing this thread: 2 Guest(s)