[HELP] Skill levels for Arms Dealer - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] Skill levels for Arms Dealer (
/showthread.php?tid=144630)
[HELP] Skill levels for Arms Dealer -
andershh - 28.04.2010
How can i add skill levels for Arms dealers?
To me everyone call sell spas12 when they got enought mats.
how can i make skill levels?
like.
slevel.1 - SDpistol, shotgun
slevel.2 - MP5
slevel.3 - Deagle
slevel.4 - AK47 and M4
slevel.5 - Sniper and Spas12
Re: [HELP] Skill levels for Arms Dealer -
Naxix - 28.04.2010
I guess you cut make a variable? like:
Code:
new SLEVEL[MAX_PLAYERS];
Code:
if(SLEVEL[playerid] == 1)
{
Code
}
else if(SLEVEL[playerid] == 2)
{
Code
}
And so on?