[AJUDA]Warning
#4

pawn Код:
public OnPlayerSpawn(playerid)
{

   {//chaveta aqui nao faz nada viu, nao ta a abrir de condicao nenhuma, apaga
    if(UserInfo[cLog][playerid] == 0)
    {
        TogglePlayerControllable(playerid, 0);
        return 1;
    }
    else
    {
        TogglePlayerControllable(playerid, 1);
        return 1;
    }
}//igual a outra, mas nao ta a fechar de condicao nenhuma que tenha sido aberta, apaga
    SetPlayerPos(playerid,2243.6509,80.2690,26.7037);
    SetPlayerInterior(playerid,0);
    return 1;
}

fica assim

pawn Код:
public OnPlayerSpawn(playerid)
{
    if(UserInfo[cLog][playerid] == 0)
    {
        TogglePlayerControllable(playerid, 0);
        return 1;
    }
    else
    {
        TogglePlayerControllable(playerid, 1);
        return 1;
    }
    SetPlayerPos(playerid,2243.6509,80.2690,26.7037);
    SetPlayerInterior(playerid,0);
    return 1;
}
Reply


Messages In This Thread
[AJUDA]Warning - by th3kill3r - 01.06.2011, 21:35
Re: [AJUDA]Warning - by DartakousLien - 01.06.2011, 21:45
Re: [AJUDA]Warning - by th3kill3r - 01.06.2011, 21:52
Re: [AJUDA]Warning - by DartakousLien - 01.06.2011, 22:00
Re: [AJUDA]Warning - by th3kill3r - 01.06.2011, 22:02
Re: [AJUDA]Warning - by DartakousLien - 01.06.2011, 22:06
Re: [AJUDA]Warning - by th3kill3r - 01.06.2011, 22:09
Re: [AJUDA]Warning - by DartakousLien - 01.06.2011, 22:13

Forum Jump:


Users browsing this thread: 2 Guest(s)