SA-MP Forums Archive
Level system for samp server - 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: Level system for samp server (/showthread.php?tid=87491)



Level system for samp server - stanLeys - 20.07.2009

Hi so i want to have filterscript about levels like if you are level 1 you can use getcar command
if you are level 2 you can use antifall command
and level 1 costs 400,000$ and level 2 costs 800,000$
and i want to get 10 levels

level | command | value of level

1st lvl = /getcar [car id] , 400 000$
2nd lvl = /antifall , 800 000$
3rd lvl = /goto [player id] , 1 000 000$
4th lvl = /eject [player id] , 1 400 000$
5th lvl = /ejectall , 1 600 000$
6th lvl = /savepos /gotopos , 2 000 000$
7th lvl = /skin [skin id] , 2 200 000$
8th lvl = /repair , 2 400 000$
9th lvl = /settime , 2 500 000$
10th lvl = /setveather , 2 600 000$

to level up use command /buylevel and you can see players levels bay using their score i mean their score will be their level so if you can do it pleasee


Re: Level system for samp server - saiberfun - 20.07.2009

search there are many fs that include levelsysztems
if it's admin or just userlvls everything.
for example seif admin


Re: Level system for samp server - stanLeys - 20.07.2009

i dont need seif admin i need only user lvls and i searched i found nothing


Re: Level system for samp server - James_Alex - 20.07.2009

create your own one
juste use
new pLevel[MAX_PLAYERS];

then if(pLevel[playerid] >= 1)....
easy


Re: Level system for samp server - saiberfun - 20.07.2009

lol but that's just for one time he's connected n won't be saved :P
n i don't think u searched right
'cuz u could use seifadmin to n edit it so it matches ur needs ain't hard
n yes u could do an ownone
https://sampwiki.blast.hk/wiki/Creating_an_Admin_Script

it doesn't need to be an adminscript
but adminscript ain't sumthin else then a levelscript


Re: Level system for samp server - James_Alex - 20.07.2009

yes he can juste save and load the level
very easy...


Re: Level system for samp server - stanLeys - 20.07.2009

james im making this topic because i dont know how to make it so i can't make it like some people can


Re: Level system for samp server - stanLeys - 20.07.2009

and james you got cool banking system


Re: Level system for samp server - James_Alex - 20.07.2009

Quote:
Originally Posted by stanLeys
and james you got cool banking system
thx
and do not double post plz
then i'll help you with this, juste when i go back to my PC


Re: Level system for samp server - stanLeys - 20.07.2009

anyway where i place if(pLevel[playerid] >= 1) i mean under what
and how will i make buylevel cmd
and if i use if(pLevel[playerid] >= 1 it gives me an error
error 010: invalid function or declaration