2 primary weapons at hand - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: 2 primary weapons at hand (
/showthread.php?tid=576930)
2 primary weapons at hand -
DeadNudock - 07.06.2015
Hello! I wonder how can I do to become the player with only primary and secondary weapons at hand, eg, the player can get an M4 and MP5 in hand, why the M4 is the primary and the secondary MP5 .. can someone me give a base, please? Primaries are the Sniper Shot, Spaz, M4, Rifle, secondary are Mp5, 9mm, Eagle, Make, bat and etc ..
Re: 2 primary weapons at hand -
JaydenJason - 07.06.2015
Save weapons in enum/variables, do a check upon giving a weapon to see if player has a primary/secondary already
Can't do anything without code eh? This is scripting help, not script requests
Re: 2 primary weapons at hand -
DeadNudock - 07.06.2015
Do you have some basis, friend?
Re: 2 primary weapons at hand -
JaydenJason - 07.06.2015
You should be the one having it since you're making this thread. I do not
Re: 2 primary weapons at hand -
DeadNudock - 07.06.2015
What are you talking about, I want just a base, because I do not know where to start, judging people is bad
Re: 2 primary weapons at hand -
DarkLored - 07.06.2015
Quote:
Originally Posted by DeadNudock
What are you talking about, I want just a base, because I do not know where to start, judging people is bad
|
He is not judging you he gave you an explanation on how to do it, it is your responsibility to make your own code not ours we can only provide assistance if you get any errors in the script.
if you want someone to actually script you something refer to this link:
https://sampforum.blast.hk/showthread.php?tid=447813
Quote:
Originally Posted by JaydenJason
Save weapons in enum/variables, do a check upon giving a weapon to see if player has a primary/secondary already
Can't do anything without code eh? This is scripting help, not script requests
|
Re: 2 primary weapons at hand -
DeadNudock - 08.06.2015
up...