Welcome to this tutorial that will allow you to add invisible backpacks.
This tutorial is a response to an help request from Skyrise.
This tutorial is a response to an help request from Skyrise.
Go in your mission/core/functions/fn_playerSkins.sqf, and search it :
S’il vous plaît,
Connexion
ou
S'inscrire pour voir le code !
(so that the cops have an invisible bag)
and/or
and/or
S’il vous plaît,
Connexion
ou
S'inscrire pour voir le code !
(so that medics have an invisible bag)
Then, below the "case" you wanted, add this :
S’il vous plaît,
Connexion
ou
S'inscrire pour voir le code !
Create a file fn_setBackpackTexture.sqf into your core/civilian, and add this in the file :
S’il vous plaît,
Connexion
ou
S'inscrire pour voir le code !
And then, in Functions.hpp, find the "Civilian" class, and under :
S’il vous plaît,
Connexion
ou
S'inscrire pour voir le code !
Add on the line below :S’il vous plaît,
Connexion
ou
S'inscrire pour voir le code !
And finally, look for this in the CfgRemoteExec.hpp :
S’il vous plaît,
Connexion
ou
S'inscrire pour voir le code !
And add this below :S’il vous plaît,
Connexion
ou
S'inscrire pour voir le code !
There you go, quick as lightning !
Sincerely,
Forum Manager Mathis