Jump to content

[Q] CLEO Scripting - "Disarm/Unarm Player"


Lazyrussian

Recommended Posts

Lazyrussian

Hi guys

 

 

 

 

I am using several cleo scripts for weapon spawns in both San Andreas Solo and Multiplayer and I have difficulties finalizing one

I'm not coding Savy but I guess the answer is quite simple. Still, the perfect dumbster I amI did'nt find the answer on Google.

 

 

 

 

For my weapon spawns, I use the oldschool weapon pickups with coordinates / ammo and Weapon ID's

 

for example weapon ID 24 for Deagle, Weapon ID 30 and 31 for AK47 / M4 etc

 

 

But here comes my request, I need a pickup or a Line that would allow me to completely or selectively disarm CJ
That would allow me to be able to unarm CJ without having to respawn.


Many many thanks for the support

And great job for the site/Forum. It's pretty complete.

Link to comment
Share on other sites

I'm pretty sure there is some form of Weapon Dropper mod out there ;)

Link to comment
Share on other sites

Lazyrussian

Thanks guys !

 

 

 

I go download then I will tell you wether it suits or not.

Link to comment
Share on other sites

Lazyrussian

I tried, it works but not as I would like it to.



Meanwhile I found a script line in this forum allowing to remove all player weapons. (all weapons carried at the moment of execution)


048F: actor $PLAYER_ACTOR remove_weapons

Now, I don't have any idea on how could I put it in a correct way so it would execute the command on a key. Let's say "F"

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.