[Help] NPC problem
#1

I'm looking for some help with this problem:

[ame]http://www.youtube.com/watch?v=4MHRzTtyWIM[/ame]








And also i need help creating IDLE NPC who apply animation when i buy something like this :


Код:
This is where i press "vali" and he gives me HP

Код:
and player applys eating animation :

Код:
This is where my IDLE NPC should stand
Reply
#2

Yo, still need help ;(
Reply
#3

Still need help..
Reply
#4

We cannot help you without the script.
Reply
#5

But when you put only bot number 2 it work?
Reply
#6

pawn Код:
public OnPlayerSpawn(playerid)
{
    if(IsPlayerNPC(playerid))
    {
        new npcname[MAX_PLAYER_NAME];
        GetPlayerName(playerid, npcname, sizeof(npcname));
        if(!strcmp(npcname, "Busdriver", true))
        {
            PutPlayerInVehicle(playerid, Keeris, 0);
            SetPlayerSkin(playerid, 255);
            ResetPlayerWeapons(playerid);
            return 1;
        }
        if(!strcmp(npcname, "Busdriver2", true))
        {
            PutPlayerInVehicle(playerid, Kala2, 0);
            SetPlayerSkin(playerid, 255);
            ResetPlayerWeapons(playerid);
            return 1;
        }
        return 1;
    }
pawn Код:
public OnGameModeInit()
{
    ConnectNPC("Busdriver","Bus");
    ConnectNPC("Busdriver2","Bus2");
pawn Код:
Keeris = CreateVehicle(437, 0.0, 0.0, 5.0, 0.0, 0, 0, 5000); // BussijuhtNPC 102
    Kala2 = CreateVehicle(437, 0.0, 0.0, 5.0, 0.0, 0, 0, 5000); // BussijuhtNPC2 103
pawn Код:
new Keeris;
new Kala2;

And yes, when i change their appearing like Bot 2 before Bot 1 then Bot 2 is working and the other one is not
Reply
#7

Still need help!!:
Reply
#8

This could potentially be a problem with the recordings, have you tried to re-record the bus that's bugging out?
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)