if (RandomSpawn == 2) { new dscar4; dscar4 = GetPlayerVehicleID(playerid); if(!GetPlayerVehicleSeat(playerid)) SetVehiclePos(dscar4,-471.5741,2216.0430,46.9922); else SetPlayerPos(playerid,-471.5741,2216.0430,46.9922); SetCameraBehindPlayer(playerid); } SetPlayerHealth(playerid, 100); format(bj, sizeof(bj), "[Teleport] %s a sido teletrasportado /ds - Desert Stunts!", playerName); for(new i=0; i<MAX_PLAYERS; i++) { |
format(string, sizeof(string), "{FF0000}[Teleport] %s a sido teletrasportado -{0000FF} /nrgc - NRG Challenge ", playerName); for(new i=0; i<MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(ReceiveInfo[i] == true) { SendClientMessage(i, 0xFFFFFFFF, string); } } } return 1; } |
ormat(string, sizeof(string), "{FF0000}[Teleport] %s a sido teletrasportado -{0000FF} /nrgc - NRG Challenge ", playerName); //No te apareceran los 2, porquй? por que al inicio indicas uno y al final otro, despues del ъltimo ya no hay ningъn caracter.
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(ReceiveInfo[i] == true)
{
SendClientMessage(i, 0xFFFFFFFF, string); //El 0xFFFFF Es el color del mensaje, puedes sustituirlo
}
}
}
return 1;
}