[Ajuda] NPC nгo entra no veнculo
#1

Por algum motivo o NPC nгo entra no veнculo, ele fica no ponto de spawn, cуdigos:

Topo do GM:
pawn Код:
new ThomasVeh;
OnGameModeInit

pawn Код:
ConnectNPC("Thomas", "EMERGENCY");
   
    ThomasVeh = AddStaticVehicleEx(416, 983.79980469, -1521.39941406, 13.19999981, 180.00000000, -1, -1, 15);
OnPlayerSpawn

pawn Код:
else if(!strcmp(nPCn, "Thomas", true))
        {
            PutPlayerInVehicle(playerid, ThomasVeh, 0);
            return 1;
        }
Reply
#2

UP, alguйm pode me ajudar?
Reply
#3

Acho que tens de utilizar a public OnNPCSpawn
Reply
#4

@EDIT@@

Creio que sejб possivel, somente com "CreateVehicle" e depois usar "PutPlayerInVehicle".
Reply
#5

Desculpa pela demora.

Nгo deu certo.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)