[AJUDA] NPC
#6

eu uso assim
pawn Код:
public OnPlayerSpawn(playerid)
{
    if(IsPlayerNPC(playerid))
    {
        new npcname[MAX_PLAYER_NAME];
        GetPlayerName(playerid, npcname, sizeof(npcname));
        if(!strcmp(npcname, "Secretaria_Sofia", true))
        {
            JBC_PutPlayerInVehicle(playerid, NPC_Vei6, 0);
            JBC_SetSpawnInfo( playerid, 0, 93, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0 );
            SetPlayerInterior(playerid,3);
            SetPlayerVirtualWorld(playerid,28);
            return 1;
        }
    }
    return 1;
}
Reply


Messages In This Thread
[AJUDA] NPC - by Hardware - 24.05.2011, 21:32
Re: [AJUDA] NPC - by DartakousLien - 24.05.2011, 21:41
Re: [AJUDA] NPC - by Hardware - 24.05.2011, 22:20
Re: [AJUDA] NPC - by zbt_Daimyo - 25.05.2011, 00:06
Re: [AJUDA] NPC - by Hardware - 25.05.2011, 22:19
Re: [AJUDA] NPC - by DartakousLien - 25.05.2011, 23:32
Re: [AJUDA] NPC - by Hardware - 25.05.2011, 23:50
Re: [AJUDA] NPC - by [RoxX]Ygor - 26.05.2011, 01:22

Forum Jump:


Users browsing this thread: 1 Guest(s)