i need smone to explain this:levels n stuff!!
#1

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..
Reply
#2

Lol.


PS: Look at a admin filterscript.
Reply
#3

i did. i seen pinfo and enums n stuff!!
Reply
#4

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

i need someone to teach me understandin those things xD
Reply
#6

****** 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!");"
Reply
#7

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)