Exp amount - 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: Exp amount (
/showthread.php?tid=109810)
Exp amount -
juuleman - 22.11.2009
Hey,
I have a question.
Im using pen1, and if you do /level you see the amount exp you have for level up.
now it is like if you are level 1 you need 4 exp for level 2.
I wanna make it like this:
If player is level 1 he needs 2 exp for level 2
If player is level 2 he need 3 exp for level 3
etc...
How to make it like that?
Re: Exp amount -
Tigerbeast11 - 22.11.2009
Erm...
I ahvent seen the script, but i suppose you could just edit it?
Re: Exp amount -
juuleman - 22.11.2009
Idk, i dont find where to edit.
Download pen1 here please and tell if you find something:
http://www.4shared.com/file/13304522...7/penls02.html
Re: Exp amount -
juuleman - 22.11.2009
But then please help me...
I want to edit the exp amounts per level in pen1.
Re: Exp amount -
Tigerbeast11 - 22.11.2009
Hm...
If you can find me the line, ill edit it for you...
Re: Exp amount -
juuleman - 22.11.2009
This are the lines from if you do /level:
Код:
SendClientMessage(playerid, COLOR_GREEN,"_______________________________________");
format(coordsstring, sizeof(coordsstring),"*** %s ***",name);
SendClientMessage(playerid, COLOR_WHITE,coordsstring);
format(coordsstring, sizeof(coordsstring), "PlayerLevel: [%d] SpawnHealth: %.1f Cash: [$%d] Bank: [$%d] Ph: [%d]", level, shealth+50, cash, account, pnumber);
SendClientMessage(playerid, COLOR_GRAD1,coordsstring);
format(coordsstring, sizeof(coordsstring), "Weapons: %s %s %s %s %s %s", sgun1,sgun2,sgun3,sgun4,sgun5,sgun6);
SendClientMessage(playerid, COLOR_GRAD2,coordsstring);
format(coordsstring, sizeof(coordsstring), "Ammo1: [%d] Ammo2: [%d] Ammo3: [%d] Ammo4: [%d] Ammo5: [%d] Ammo6: [%d]", ammo1,ammo2,ammo3,ammo4,ammo5,ammo6);
SendClientMessage(playerid, COLOR_GRAD3,coordsstring);
if (stats)
{
format(coordsstring, sizeof(coordsstring), "CashBox: [%d/4] HotWire: [%d/4] StreetRace: [%d/4] Service: [%d/20] ",pcb,phw,psr,pwa);
SendClientMessage(playerid, COLOR_GRAD4,coordsstring);
format(coordsstring, sizeof(coordsstring), "Kills: [%d/30] Most Wanted Kills: [%d/4] NextLevel: [$%d] Exp: [%d/%d]",kills,ppen,costlevel,exp,expamount);
SendClientMessage(playerid, COLOR_GRAD5,coordsstring);
idk if it are the right ones.
Re: Exp amount -
Tigerbeast11 - 22.11.2009
Hm...
Its the right ones, and the wrong ones. Can you show me where it defines the hp...
Re: Exp amount -
juuleman - 22.11.2009
What u mean?
Re: Exp amount -
Blaze09 - 22.11.2009
Just ask in the script's thread.
I doubt anyone's gonna answer you here.
Re: Exp amount -
juuleman - 22.11.2009
Quote:
Originally Posted by Blaze09
Just ask in the script's thread.
I doubt anyone's gonna answer you here.
|
I will...
I first wanna look if someone here can help me.