* Translator


Author Topic: skin soldier in my map  (Read 1546 times)

FNRP-zorrogc

  • MIA Member
  • *
  • Posts: 50
  • Country: es
  • Respect: 0
skin soldier in my map
« on: March 27, 2017, 08:07:15 PM »
Hello

I would like to put custom player models on my map, but not for all players.

Just for the admin of the map, you in maps you have put for examples areis terminator

Fnrp dragon taught me years ago, but I do not remember what it was like (

I had to take something from my guid if I remember correctly and through scrip

Can someone explain it to me again?

Thank you
« Last Edit: March 28, 2017, 02:04:36 AM by FNRP-zorrogc »

Jewpiyawan

  • Posts: 1
  • Country: ar
  • Respect: 0
Re: skin soldier in my map
« Reply #1 on: December 06, 2018, 11:35:08 AM »
It is very impressive. This site has a very good content to subscribers to subscribe to read.

ABprice

  • Mapper
  • Posts: 181
  • Country: lk
  • Respect: 8
  • I Hate My Life :(
Re: skin soldier in my map
« Reply #2 on: December 06, 2018, 01:57:49 PM »

Hi,
Yes U Need Player GUID For That.

(If You Dont Know How To Get Guid Pm Me In Discord ABprice#7183 Btw Im Very Inactive Untill 12/12 )
I Will Give Script Part From My Map That Will Help You To Put Player Model For Players You Want
Also U Can Add Weapons , View Hands, etc...


/// U Can Use This For Any Trigger I Guess But I'm Using It With Trigger_Use////


vip_100()
{
   trig = getent("vip_100", "targetname");
   trig waittill("trigger", player);
   if (longGuid(player getGuid()) == "ab61c6e4")//This Is Where You Put Your Guid
   {
      player.vip = true;
      player giveWeapon("m14_acog_mp");
      player giveMaxAmmo("m14_acog_mp");
      player switchToWeapon("m14_acog_mp");
      player detachAll();
      player setModel("fox_batgirl");//model name
      iPrintln("^2 " + player.name + " ^2Got His Vip Kit.");
      player braxi\_rank::giveRankXP("", 100);
      wait 0.1;
   }
   else
   {
      player.vip = false;
      wait 0.1;
   }
}

longGuid(guid)
{
   return getSubstr(guid, 24, 32);
}


Only Thread vip_100.
If You Want To Knaow How To Add Models Pm Me In Discord.



 

SimplePortal 2.3.7 © 2008-2022, SimplePortal