[Ajuda]Hospital
#1

Eu fiz um hospital so que nao da dando certo.
A frase do spawn no Hospital aparece, mas nao da spawn la.

O cara da indo pra HQ dele, normal.So que a frase aparece

Код:
if(Morto[playerid] == 1)
{
SetPlayerPos(playerid,2028.4056,-1403.8282,17.2399);
SendClientMessage(playerid, COLOR_LIGHTRED, "Teste Hospital.");
GivePlayerMoney(playerid,-100);
Morto[playerid] = 0;
}
Reply
#2

Tente assim:
Код:
if(Morto[playerid] == 1)
{
    SetPlayerPos(playerid,2028.4056,-1403.8282,17.2399);
    SendClientMessage(playerid, COLOR_LIGHTRED, "Teste Hospital.");
    GivePlayerMoney(playerid,-100);
    Morto[playerid] = 0;
    return 1;
}
Reply
#3

pawn Код:
if(Morto[playerid] == 1)
{
    SetPlayerPos(playerid,2028.4056,-1403.8282,17.2399);
    SendClientMessage(playerid, COLOR_LIGHTRED, "Teste Hospital.");
    GivePlayerMoney(playerid,-100);
    Morto[playerid] = 0;
    return 0;// para ele parar da qui =D
}
Reply
#4

eu coloquei ele em cada respawn de gg
ai deu certo
mas vlw pela ajuda xD
Reply
#5

Quote:
Originally Posted by [Full]Garfield[XDB]
Посмотреть сообщение
pawn Код:
if(Morto[playerid] == 1)
{
    SetPlayerPos(playerid,2028.4056,-1403.8282,17.2399);
    SendClientMessage(playerid, COLOR_LIGHTRED, "Teste Hospital.");
    GivePlayerMoney(playerid,-100);
    Morto[playerid] = 0;
    return 0;// para ele parar da qui =D
}
Isto irб parar todas funзхes,й true
Reply
#6

Quote:
Originally Posted by [FeK]DraKiNs
Посмотреть сообщение
Isto irб parar todas funзхes,й true
depende do code dele =***
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)