NPC get stuck on SetupPlayerForClassSelection/OnPlayerRequestClass
#1

Problem solved.

Thanks to Etch
Reply
#2

use
Код:
SpawnPlayer(playerid);
then under OnPlayerSpawn :
Код:
if(IsPlayerNPC(playerid)) return SetPlayerTeam(playerid,1) // Terrorists
Reply
#3

Still dont work
Reply
#4

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    if(IsPlayerNPC(playerid))
        return SpawnPlayer(playerid);

    // rest of your stuff
}
Reply
#5

Nope that still dosent work. The NPC just stand there where you choose your skin.
Reply
#6

Anyone know how to fix this?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)