Npc Skin + Controlled Start
#5

Incase you needed an example here is one

Код:
// For NPC Spawns
	if(IsPlayerNPC(playerid))
  {
    new npcname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, npcname, sizeof(npcname));
    if(!strcmp(npcname, "Traindriver1", true))// LS Train
    {
      
      PutPlayerInVehicle(playerid, LSTrain, 0);
      SetPlayerColor(playerid,COLOR_GREEN);
      SetPlayerSkin(playerid,16); // Orange Jacket Guy
      new Text3D:textlabel1,string[256];
      format(string, sizeof(string), "Train Driver (%d)",playerid);
      textlabel1 = Create3DTextLabel(string,COLOR_GREEN,0,0,0,25.0,0,1);
      Attach3DTextLabelToPlayer(textlabel1,playerid,0,0,0);
    }
return 1;
}
Reply


Messages In This Thread
Npc Skin + Controlled Start - by Trooper[Y] - 18.10.2009, 22:39
Re: Npc Skin + Controlled Start - by MiX - 18.10.2009, 22:58
Re: Npc Skin + Controlled Start - by Cedimedi - 18.10.2009, 23:00
Re: Npc Skin + Controlled Start - by Trooper[Y] - 18.10.2009, 23:09
Re: Npc Skin + Controlled Start - by Beaver07 - 19.10.2009, 01:06

Forum Jump:


Users browsing this thread: 1 Guest(s)