Exp amount
#1

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

Erm...

I ahvent seen the script, but i suppose you could just edit it?
Reply
#3

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
Reply
#4

But then please help me...

I want to edit the exp amounts per level in pen1.
Reply
#5

Hm...

If you can find me the line, ill edit it for you...
Reply
#6

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

Hm...

Its the right ones, and the wrong ones. Can you show me where it defines the hp...
Reply
#8

What u mean?
Reply
#9

Just ask in the script's thread.

I doubt anyone's gonna answer you here.
Reply
#10

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


Forum Jump:


Users browsing this thread: 1 Guest(s)