[Ajuda]GetPlayerColor
#1

if(pickupid == CPS1)
if(Dominando[playerid] == false)
{
format (string,sizeof(string),"[GZ-ZONES]{FFFA00}%s esta dominando a GangZona - MOTEL LV -!!",name);
SendClientMessage(playerid,0x00FF00FF,"[GZ-ZONES]{FFFA00}Vocк esta dominando a GangZona - MOTEL LV -!!");
GangZoneFlashForAll(GZ1,GCOLOR[playerid]);
Dominando[playerid] = true;
}

Alguem da uma ajuda ae, essa parada ta pegando certin, mas quand eu vou dominar, a gangzone n pisca da cor do player
Reply
#2

if(pickupid == CPS1)
if(Dominando[playerid] == false)
{
format (string,sizeof(string),"[GZ-ZONES]{FFFA00}%s esta dominando a GangZona - MOTEL LV -!!",name);
SendClientMessage(playerid,0x00FF00FF,"[GZ-ZONES]{FFFA00}Vocк esta dominando a GangZona - MOTEL LV -!!");
GangZoneFlashForAll(GZ1,GetPlayerColor(playerid));
Dominando[playerid] = true;
}
Reply
#3

eu jб havia tentado isso, esqci de mostrar:


new GCOLOR[MAX_PLAYERS];
GCOLOR[playerid] = GetPlayerColor(playerid);
GetPlayerName(playerid,name ,sizeof(name));
if(pickupid == CPS1)
if(Dominando[playerid] == false)
{
format (string,sizeof(string),"[GZ-ZONES]{FFFA00}%s esta dominando a GangZona - MOTEL LV -!!",name);
SendClientMessage(playerid,0x00FF00FF,"[GZ-ZONES]{FFFA00}Vocк esta dominando a GangZona - MOTEL LV -!!");
GangZoneFlashForAll(GZ1,GCOLOR[playerid]);
Dominando[playerid] = true;
}
Reply
#4

esta getand uma cor invisivel
alguem ae?
Reply
#5

Quote:
Originally Posted by SPOT_M16
Посмотреть сообщение
esta getand uma cor invisivel
alguem ae?
vc setou as cores do player?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)