Quote:
Originally Posted by Bruno Pereira
PHP код:
//OnPlayerSpawn
if(PlayerInfo[playerid][pAdmin] >= 1)// Mude para sua variavel de admin.
{
SetPlayerPos(playerid, X,Y,Z);// Coloque as posiзхes!
}
|
Quote:
Originally Posted by ReDKiiL
OnPlayerSpawn:
pawn Код:
if(PlayerInfo[playerid][pAdmin] > = 1) { SetPlayerPos(playerid,-588.6668,-1048.9152,23.3418); }
|
Os dois estгo errados seria, esqueceram do
SetPlayerInterior, modo corrigido:
pawn Код:
public OnPlayerSpawn(playerid)
{
if(PlayerInfo[playerid][pAdmin] >= 1)
{
SetPlayerInterior(playerid, InteriorID);
SetPlayerPos(playerid, Posiзгo X, Posiзгo Y, Posiзгo Z);
}
return 1;
}