if(SpawnKill[playerid] == true) { if(fmembro[playerid] > 0) { new facid = fmembro[playerid]; SetPlayerChatBubble(playerid, "[ANTI SPAWN KILL ACTIVED]\n" FactionInfo[facid][facname], 0xFF0000FF, MAX_DISTANCIA, 10000); } else { SetPlayerChatBubble(playerid, "[ANTI SPAWN KILL ACTIVED]", 0xFF0000FF, MAX_DISTANCIA, 10000); } } else if(SpawnKill[playerid] == false) { if(fmembro[playerid] > 0) { new facid = fmembro[playerid]; SetPlayerChatBubble(playerid, FactionInfo[facid][facname], 0xFF0000FF, MAX_DISTANCIA, 10000); } }
SetPlayerChatBubble(playerid, "[ANTI SPAWN KILL ACTIVED]\n" FactionInfo[facid][facname], 0xFF0000FF, MAX_DISTANCIA, 10000); }
Sorry, Simplificando
Entгo a minha dъvida й essa Code:
SetPlayerChatBubble(playerid, "[ANTI SPAWN KILL ACTIVED]\n" FactionInfo[facid][facname], 0xFF0000FF, MAX_DISTANCIA, 10000); } |
if(SpawnKill[playerid] == true) { if(fmembro[playerid] > 0) { new facid = fmembro[playerid]; new string[256]; format(string,sizeof(string), "[ANTI SPAWN KILL ACTIVED]\nFacзгo: %s", FactionInfo[facid][facname]); SetPlayerChatBubble(playerid, string, 0xFF0000FF, MAX_DISTANCIA, 10000); } else { SetPlayerChatBubble(playerid, "[ANTI SPAWN KILL ACTIVED]", 0xFF0000FF, MAX_DISTANCIA, 10000); } } else if(SpawnKill[playerid] == false) { if(fmembro[playerid] > 0) { new facid = fmembro[playerid]; new string[256]; format(string,sizeof(string), "Facзгo: %s", FactionInfo[facid][facname]); SetPlayerChatBubble(playerid, string, 0xFF0000FF, MAX_DISTANCIA, 10000); } } |