can anyone tell me the code for adding a helmet/hat etc... to a player?
This is what I have
if (!isServer) then {
waitUntil {!isNull player};
waitUntil {player == player};
while {true} do {
_player = player;
player addEventHandler ["Respawn", {
if (getPlayerUID player in ["0"]) then {
player addWeapon "EpochRadio5";
player addWeapon "ItemGPS";
player addWeapon "ItemWatch";
player addWeapon "ItemCompass";
player forceAddUniform "U_OG_Guerilla3_2";
}
}];
waitUntil {_player != player};
};
};
I also need to add a Beret to this.
You see here that
player forceAddUniform "U_OG_Guerilla3_2";
is used to add the clothing to the player as they respawn, I need to know what to put here to force the
Question
Pringlez
Hello,
can anyone tell me the code for adding a helmet/hat etc... to a player?
This is what I have
I also need to add a Beret to this.
You see here that
is used to add the clothing to the player as they respawn, I need to know what to put here to force the
to spawn on the player too.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now