SA-MP Forums Archive
i need smone to explain this:levels n stuff!! - 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: i need smone to explain this:levels n stuff!! (/showthread.php?tid=119081)



i need smone to explain this:levels n stuff!! - patchkinson - 06.01.2010

Hey, id like to try creatin an admin FS with levels, but i dunno how to create levels n stuff. can someone teach me how to create level, and so when we do like /sl <id> <lvl> it sets player to that lvl and saves it to a doc, at playerconnect it reads that doc and sees if he is admin, if yes the level. then if a cmd is done checks if player is level, err, 4, if yes kickplayerid, else banplayerid. thanks in advance, thats if ur willin to help me in this..


Re: i need smone to explain this:levels n stuff!! - Striker_Moe - 06.01.2010

Lol.


PS: Look at a admin filterscript.


Re: i need smone to explain this:levels n stuff!! - patchkinson - 06.01.2010

i did. i seen pinfo and enums n stuff!!


Re: i need smone to explain this:levels n stuff!! - Striker_Moe - 06.01.2010

And? You gotta understand all that "stuff" in order to make a admin system. (Or just use a FS)


Re: i need smone to explain this:levels n stuff!! - patchkinson - 06.01.2010

i need someone to teach me understandin those things xD


Re: i need smone to explain this:levels n stuff!! - Christopher. - 08.01.2010

****** translator? Your English is terrible, For levels the easiest way to do them is like "new level[MAX_PLAYERS]", Then you can assign a number to the variable for example:

"level[playerid] = 10;"

Then the if statment:

"if(level[playerid] == 10) return SendClientMessage(playerid, red, "You are level 10!");"


Re: i need smone to explain this:levels n stuff!! - marharth - 08.01.2010

Quote:
Originally Posted by Chris - X-Host
****** translator? Your English is terrible, For levels the easiest way to do them is like "new level[MAX_PLAYERS]", Then you can assign a number to the variable for example:

"level[playerid] = 10;"

Then the if statment:

"if(level[playerid] == 10) return SendClientMessage(playerid, red, "You are level 10!");"
His grammar is ok if you can decipher the spelling..

Why are you trying to make a script if you can't script?

Doesn't make much sense does it?

https://sampwiki.blast.hk/wiki/PAWN_tutorial

https://sampwiki.blast.hk/wiki