#1Mr_StanleyDom Dez 14, 2014 8:44 pm
Mr_Stanley
Fundador
Parar chamar clique 2 vezes em um button e coloque:
Precisará do Set Event, eu irei criar um tópico postando ele...
- Código:
JoinServer(ComboBox1.itemindex);
Precisará do Set Event, eu irei criar um tópico postando ele...
- Código:
procedure JoinServer(ServerID:Integer); // join
begin
case PBYTE(g_pGameStatus)^ of
0: SetEvent($C, @ServerID, nil, nil, 0, 0); // ou 0C
1: SetEvent($11, @ServerID, nil, nil, 0, 0);
end;
end;