Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new bool:UsandoCorGay[MAX_PLAYERS];
- //topo
- }
- new Cores[] = // aqui vai as cores aleatorias
- {
- 0xA0A0A0FF,
- 0x9900ffFF,
- 0xBCD2EEFF,
- 0xf4005bFF,
- 0xffff00FF,
- 0x00C2ECFF
- };
- SetTimer("Coresdegay", 400, true);
- //qualqueer lugar
- }
- forward Coresdegay(playerid);
- public Coresdegay(playerid);
- {
- if(UsandoCorGay[playerid] == true // aqui a bool para quando o player ativar o bagulho
- {
- new random2 = random(sizeof(Cores));
- SetPlayerColor(playerid, random2);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement