[REQ]Exp system, please show me host to create it :) - 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: [REQ]Exp system, please show me host to create it :) (
/showthread.php?tid=258831)
[REQ]Exp system, please show me host to create it :) -
leingod - 01.06.2011
hello guys...
how i can create this script?
like if i killed ppl.. i'll got [1-200] of EXP
then if my EXP up to 1000.
i can use /levelup. then my level is level 2.
and the score is 2 too
the score is same as level
pls show me how guys
Re: [REQ]Exp system, please show me host to create it :) -
xalith - 01.06.2011
under OnPlayerDeath
pawn Код:
SetPlayerScore(killerid, GetPlayerScore(killerid) + 200); this will give the score, and
using zcmd
pawn Код:
CMD:levelup(playerid,params[])
{
if( GetPlayerScore(playerid) > 1000)
{
level[playerid] + 1;
}
}
Re: [REQ]Exp system, please show me host to create it :) -
leingod - 01.06.2011
K thx