01.06.2011, 22:00
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;
}