[FilterScript] Level, Exp, Payday system by Xaviour212
#1

Introduction :
Код:
This is my Level, exp and payday system.
Every you kill a player, you got some a exp.
Max. level is 40.
Payday and Exp is depending on the your level.
In this script, I already make a example command.
Function :
Код:
- SetPlayerExp(playerid, exp)
- GivePlayerExp(playerid, exp)
- GetPlayerExp(playerid)
- SetPlayerLevel(playerid, level)
- GivePlayerLevel(playerid, level)
- GetPlayerLevel(playerid)
- Payday(playerid)
How to Install:
Код:
* First, Copy and paste the code
* Next, go to scriptfiles and create a folder with name "Users"
Downloads:
Код:
* Pastebin
Reply
#2

Seems good, i will try it later.
Reply
#3

Nice
Reply
#4

Can i set max level?
(Gua bisa ganti max levelnya gak Om?)
Reply
#5

It's a good idea but I REALLY recommend that you think about using something other than OnPlayerUpdate. Here are a few tips:

1. You're using a 256 cell string which isn't needed, max of 100 cells.
2. You're pretty much using dini_Int on OnPlayerUpdate which is called a lot if you are moving around.
3. I recommend that you save the information into a variable, not open and write into files constantly.
Reply
#6

I agree with "[HiC]TheKiller," but I would recommend using a max of 128 cells for your strings, unless of course you absolutely need more. I get 128 because you can only send 128 cells in a single message to the "chat area."
Reply
#7

Nice works 10,01/10 (LOL)
ini sama kyk di server IDGS y?
Reply
#8

Nice job Keep up the good work!
Reply
#9

great
Reply
#10

Great
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)