09.02.2017, 04:57
(
Последний раз редактировалось Sew_Sumi; 09.02.2017 в 05:50.
)
Run grandlarceny with the drop script, and get an admin script that has an anti-cheat.
In the admin script, it'll have a function you need to use that will give the gun, and in the drop script and anywhere in the gamemode that has GivePlayerWeapon you use CallRemoteFunction to call the function it uses to give the gun.
The reason I suggest using an admin script over a integrated gamemode-anti-cheat is usually the integrated one won't have an option to disable it, and will only handle weapons given by the script.
In the admin script, it'll have a function you need to use that will give the gun, and in the drop script and anywhere in the gamemode that has GivePlayerWeapon you use CallRemoteFunction to call the function it uses to give the gun.
The reason I suggest using an admin script over a integrated gamemode-anti-cheat is usually the integrated one won't have an option to disable it, and will only handle weapons given by the script.
