AutoSpawn
#1

i putted this :
Код:
public PlayerSpawn(playerid)
{
	if(AccountInfo[playerid][aFaction] == 0)
	{
  SetSpawnInfo( playerid, 0, 7, 1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0 );
	}
	return 1;
}
and added:
Код:
PlayerSpawn(playerid);
in my login part ( OnPlayerLogin)

and it wont spawn me automaticly, i have to press SHIFT to log on
any ideas why ??
Reply
#2

pawn Код:
public PlayerSpawn(playerid)
{
    if(AccountInfo[playerid][aFaction] == 0)
    {
    SetSpawnInfo( playerid, 0, 7, 1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0 );
    SpawnPlayer(playerid)
    }
    return 1;
}
try this, but im not sure if it works
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)