NPC Skin - Problem
#1

Ive search alot topics about this problem, but nothing help me.

I try change the skin to my npc but it dont change, including i put spawnInfo and nothing happen, check it. this is the OnPlayerSpawn of my filtescript.

PHP код:
public OnPlayerSpawn(playerid)
{
    if(
IsPlayerNPC(playerid))
      {
        new 
npcname[24];
        
GetPlayerName(playeridnpcname24);
        if(!
strcmp(npcname"Unity_Driver"true)) 
        {
            
SetPlayerSkin(playerid150);
            
PutPlayerInVehicle(playeridAutobus_BusUnitySf0); 
            
Attach3DTextLabelToPlayer(Text3d_BusUnitySfplayerid0.00.00.0);
          }
      }
    return 
1;

All work fine, the npc is put in the vehicle, but he dont wanna change the skin, someone can help me with this >.< this make me crazy.
Reply


Messages In This Thread
NPC Skin - Problem - by LuisR - 04.02.2014, 13:51
Respuesta: NPC Skin - Problem - by LuisR - 06.02.2014, 11:47
Re: NPC Skin - Problem - by BullseyeHawk - 06.02.2014, 11:58

Forum Jump:


Users browsing this thread: 1 Guest(s)