Skilled Illusionist
- Joined
- Nov 27, 2018
- Messages
- 363
- Reaction score
- 77
This script will respawn a player as 1 of 4 themed characters.
1. Gorka
2. Police
3. Medic (lighh blue)
4. Prison
if you want to add a new set. create class "case 5 or 6 or 7" and "break;"
Example:
case 4:
// TODO:
break;
How to add weapons?
class to add weapons - player.GetHumanInventory().CreateInHands
"CreateInHands"
handing out to the player...
Good Luck!
1. Gorka
2. Police
3. Medic (lighh blue)
4. Prison
if you want to add a new set. create class "case 5 or 6 or 7" and "break;"
Example:
case 4:
// TODO:
break;
How to add weapons?
class to add weapons - player.GetHumanInventory().CreateInHands
"CreateInHands"
handing out to the player...
case 0:
// Clothing
itemEnt = player.GetInventory().CreateInInventory("PolicePants");
itemEnt = player.GetInventory().CreateInInventory("PoliceJacket");
itemEnt = player.GetInventory().CreateInInventory("CombatBoots_Black");
itemEnt = player.GetInventory().CreateInInventory("OfficerHat");
// Ammo
itemEnt = player.GetInventory().CreateInInventory("Mag_CZ61_20Rnd");
// Weapon
itemEnt = player.GetHumanInventory().CreateInHands("CZ61");
break;
Good Luck!