NPC must skip the login
#10

Quote:
Originally Posted by Compton's Eazy E
This is the working code:

Код:
if (IsPlayerNPC(playerid))
{
    SetSpawnInfo( playerid, 0, 0, x, y, z, angle, 0, 0, 0, 0, 0, 0 );
    SpawnPlayer(playerid);
}
Put that code i gave you, under onplayerrequestclass
so it will look like this

Код:
public OnPlayerRequestClass(playerid, classid)
{
  if (IsPlayerNPC(playerid))
  {
    SetSpawnInfo( playerid, 0, 0, x, y, z, angle, 0, 0, 0, 0, 0, 0 );
    SpawnPlayer(playerid);
	}
	return 1;
}
Reply


Messages In This Thread
NPC must skip the login - by breakpaper - 28.10.2009, 10:20
Re: NPC must skip the login - by Eazy_Efolife - 28.10.2009, 10:22
Re: NPC must skip the login - by [NL]Bank - 28.10.2009, 10:23
Re: NPC must skip the login - by JonyAvati - 28.10.2009, 10:24
Re: NPC must skip the login - by breakpaper - 28.10.2009, 10:28
Re: NPC must skip the login - by JonyAvati - 28.10.2009, 10:29
Re: NPC must skip the login - by Eazy_Efolife - 28.10.2009, 10:31
Re: NPC must skip the login - by [NL]Bank - 28.10.2009, 10:32
Re: NPC must skip the login - by breakpaper - 28.10.2009, 10:34
Re: NPC must skip the login - by Eazy_Efolife - 28.10.2009, 10:35

Forum Jump:


Users browsing this thread: 2 Guest(s)