SA-MP Forums Archive
help ,LEVEL system RP / Need - 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)
+--- Thread: help ,LEVEL system RP / Need (/showthread.php?tid=430167)



help ,LEVEL system RP / Need - morocco - 12.04.2013

Hello guys


Please who can give me Level System without Register and Login


Please !!!!


Re: help ,LEVEL system RP / Need - zDivine - 12.04.2013

Here you go.

pawn Код:
enum pLevel
{
Level
};
new PlayerInfo[MAX_PLAYERS][pLevel];
pawn Код:
if(CantLearnToCode == true)
{
PlayerInfo[playerid][Level] = 0;
Ban(playerid);
}



Re: help ,LEVEL system RP / Need - thefatshizms - 12.04.2013

When trying to act cocky saying he needs to learn how to code, you should learn how to indent!


Re: help ,LEVEL system RP / Need - zDivine - 13.04.2013

Quote:
Originally Posted by thefatshizms
Посмотреть сообщение
When trying to act cocky saying he needs to learn how to code, you should learn how to indent!
I know how to indent, I wrote that in the quick reply window you derp.

Anyways, do you know who I am? I am Josh_Beverly. :P Add my new Skype: mercenary.lf


Re: help ,LEVEL system RP / Need - thefatshizms - 13.04.2013

I know who you are. Next time when acting cocky, try not to make yourself look like an idiot. :P


Re: help ,LEVEL system RP / Need - zDivine - 13.04.2013

Quote:
Originally Posted by thefatshizms
Посмотреть сообщение
I know who you are. Next time when acting cocky try not make yourself look like an idiot :P
Next time, when trying to look cool, try using proper grammar. :P


Re: help ,LEVEL system RP / Need - morocco - 13.04.2013

hey,

guys help me please

this my GM

Код:
enum pInfo
{
	Logged,
	Money,
	Float:X,
	Float:Y,
	Float:Z,
	HasJob,
	JobType,
	HasBank,
	AdminLevel,
	Spawned,
	PickupRef[50], //To remember a newly created pickup's info. Admins only!
	KickRef, //To remember a kicked player. Admins only!
	AdminRef, //To remember a new admin. Admins only!
	Mute,
	Login,
	PlayerLoc, //Used to see if a player is in a Bank or Gun shop or wherever. Timer 'EnterExit' takes care of setting the values.
	Tutorial,
	BankPin,
	PinRef, //When buying something and done entering your pin, what should happen next?
	InCall,
	CallTo,
	VehRef,//When buying a vehicle to remember it's vehicleid for the dialogs.
	Float:gHP, //Check to see who shot who.
	IsShot
}
new PlayerInfo[MAX_PLAYERS][pInfo];

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
	new string[300];
	switch(dialogid)
	{
	    case 0:
	    {
	        if(response == 0)
	            return ShowPlayerDialog(playerid, 0, 1, "Registration", "\tPlease input a password to use to login.", "Enter", "Cancel");
			if(strlen(inputtext) <= 0)
			    return ShowPlayerDialog(playerid, 0, 1, "Registration", "\tPlease input a password to use to login.", "Enter", "Cancel");
			if(strlen(inputtext) >= 128)
  				return ShowPlayerDialog(playerid, 0, 1, "Registration", "\tPlease input a password to use to login.", "Enter", "Cancel");
			dini_Create(NameToFile(playerid));
			dini_Set(NameToFile(playerid), "Pass", inputtext);
			dini_IntSet(NameToFile(playerid), "HasJob", 0);
			dini_IntSet(NameToFile(playerid), "JobType", -1);
			dini_IntSet(NameToFile(playerid), "HasBank", 0);
			dini_IntSet(NameToFile(playerid), "AdminLevel", 0);
			LoginPlayer(playerid);
			GiveMoney(playerid, 1000);
			SendClientMessage(playerid, COLOR_GREY, "Welcome to eRP. To start your new life off, you've been given a gift of $1000!");
			SendClientMessage(playerid, COLOR_GREY, "You will be started on a quick tour to start off your new life. Have fun!");
			TutorPlayer(playerid);
			SetPlayerSkin(playerid, 26);
			dini_IntSet(NameToFile(playerid), "Skin", 26);
	    } ...



Re: help ,LEVEL system RP / Need - thefatshizms - 13.04.2013

Let's try not to go off topic now..

Anyway I'm in bed its 2am and I'm watching a movie.


And p.s all I did was leave out a comma and a full stop. :P


Re: help ,LEVEL system RP / Need - zDivine - 13.04.2013

Quote:
Originally Posted by thefatshizms
Посмотреть сообщение
Let's try not to go off topic now..

Anyway I'm in bed its 2am and I'm watching a movie.


And p.s all I did was leave out a comma and a full stop. :P
No, you said "try not make yourself". Its, "try not making yourself".


Re: help ,LEVEL system RP / Need - thefatshizms - 13.04.2013

Quote:
Originally Posted by zDivine
Посмотреть сообщение
No, you said "try not make yourself". Its, "try not making yourself".
It's actually "try not to make yourself", "try not making yourself" doesn't make any sense.

And also I said let's not go off topic, let's actually help the poor guy.