A simple question [+rep] - 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: A simple question [+rep] (
/showthread.php?tid=310581)
A simple question [+rep] -
Twinki1993 - 12.01.2012
Hello guys, well I have a question, how do they make this?
((Pic on the right without that closing key btw))
I want to make like when player is choosing the class to say
Russian Team
Armour 100
AK-47 100 bullets
Deagle 100 bullets
Knife
It will be like "What that skin have"
Re: A simple question [+rep] -
coole210 - 13.01.2012
https://sampwiki.blast.hk/wiki/GetNetworkStats
https://sampwiki.blast.hk/wiki/GetPlayerNetworkStats
rep
Re: A simple question [+rep] -
Ballu Miaa - 13.01.2012
For every single skin to have different weapon's! You can use the function AddPlayerClass
https://sampwiki.blast.hk/wiki/AddPlayerClass
You can add 3 weapon's and spawn point for this skin if added under OnGameModeInIt
Re: A simple question [+rep] -
Twinki1993 - 13.01.2012
@Ballu Miaa You don't get it what I want to say.
Thanks cole
Re: A simple question [+rep] -
Ballu Miaa - 13.01.2012
Quote:
Originally Posted by Twinki1993
I want to make like when player is choosing the class to say
Russian Team
Armour 100
AK-47 100 bullets
Deagle 100 bullets
Knife
It will be like "What that skin have"
|
This is what i answered about not the network stats. You can create Function's which give's the playerid these weapon's according to the skin they have under OnPlayerSpawn()