16.03.2018, 04:19
PHP код:
public OnPlayerEnterCheckpoint(playerid) {
ApplyAnimation(playerid, "CASINO", "Slot_Plyr", 4, 1, 1, 1, 0, 1000, 1);
SendClientMessage(playerid, COLOR_VERDE, "Has entregado el pasaje al recepcionista,Por favor espere hasta que llamen para subirse al bus");
SetTimerEx(PUERTAE[playerid] == true ? ("messageLS") : PUERTAC[playerid] == true ? ("EntregandoPasaje") : "OnPlayerExitedMenu", 1000, false, "i", playerid);
DisablePlayerCheckpoint(playerid);
if(PUERTAE[playerid]) PUERTAE[playerid] =! PUERTAE[playerid];
if(PUERTAC[playerid]) PUERTAC[playerid] =! PUERTAC[playerid];
return 1;
}
forward messageLS(playerid);
public messageLS(playerid)
{
if(!ENTRAR[playerid]) {
PlayAudioStreamForPlayer(playerid,"https://dl.dropbox.com/s/160sllpah3dul9l/Sonido%20aviso%20planta%20tono-%20Efecto%20de%20sonido.mp3");
SendClientMessage(playerid,COLOR_VERDE,"Tu bus esta apunto de partir por favor acercate a la puerta de abordaje E");
ENTRAR[playerid] = true;
}
return 1;
}
forward EntregandoPasaje(playerid);
public EntregandoPasaje(playerid) {
/*-- FUNЗХES DE ENTREGANDO AS PASSAGENS --*/
return 1;
}