Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: Gito Baloch on Mar 24, 2020, 08:27 AM

Title: How to add weapon pickup?
Post by: Gito Baloch on Mar 24, 2020, 08:27 AM
can you tell me how to add weapon pickup?
CreateWeaponPickups(111, -913.828, -558.578, 14.5535);
HOW? ??
Title: Re: How to add weapon pickup?
Post by: Sebastian on Mar 24, 2020, 09:10 AM
wiki.thijn.ovh

There you can find a list of available funcions,  and how to use them
Title: Re: How to add weapon pickup?
Post by: Gito Baloch on Mar 24, 2020, 10:56 AM
Seby i cant find any wep pickup in wiki? u give me
Title: Re: How to add weapon pickup?
Post by: KX on Mar 24, 2020, 11:13 AM
Quote from: Gitobaloch on Mar 24, 2020, 10:56 AMSeby i cant find any wep pickup in wiki? u give me
CreatePickup(weaponID, world, ammo, player.pos, 255, true);Also here is the link about which sseebbyy told you
-> http://wiki.thijn.ovh/index.php?title=Scripting/Squirrel/Functions/CreatePickup
Title: Re: How to add weapon pickup?
Post by: Gito Baloch on Mar 24, 2020, 02:22 PM
player.Pos ?
Title: Re: How to add weapon pickup?
Post by: Sebastian on Mar 24, 2020, 02:48 PM
Quote from: Gitobaloch on Mar 24, 2020, 02:22 PMplayer.Pos ?

Vector( x, y, z );
Title: Re: How to add weapon pickup?
Post by: Gito Baloch on Mar 25, 2020, 07:29 AM
I added Pickup and define onPickupPickedUp but i cant pick the wep in pickup!
Title: Re: How to add weapon pickup?
Post by: Gito Baloch on Mar 27, 2020, 08:44 AM
Solved, Locked.