[Tutorial] Making a Level and Experience System( With Paydays)
#19

Quote:
Originally Posted by Cameltoe
View Post
pawn Code:
new PlayerEXP[MAX_PLAYERS];

command(giveexp, playerid, params[])
{
     new pID, Amount;
     if(sscanf(params, "ui", pID, Amount)) return SendClientMessage(playerid, 0x0, "Usage: /giveexp [ PlayerID ] [ Amount ]");
     PlayerEXP[pID] = Amount; // To set the amount
     PlayerEXP[pID] = ( PlayerEXP[pID] + Amount ); // To give the amount
     // Remove either of these to change wether to set or give exp.
     return 1;
}
How i can make it for rcon admins ?

Edit:When i use command i didn't get the exp
Reply


Messages In This Thread
Making a Level and Experience System( With Paydays) - by Benzke - 13.09.2012, 10:46
Re: Making a Level and Experience System( With Paydays) - by leonardo1434 - 13.09.2012, 11:00
Re: Making a Level and Experience System( With Paydays) - by Devilxz97 - 13.09.2012, 11:35
Re: Making a Level and Experience System( With Paydays) - by Benzke - 13.09.2012, 12:57
Re: Making a Level and Experience System( With Paydays) - by JustinAn - 14.09.2012, 01:49
Re: Making a Level and Experience System( With Paydays) - by StupidGuyLikeMe - 14.09.2012, 02:03
Re: Making a Level and Experience System( With Paydays) - by Benzke - 14.09.2012, 06:21
Re: Making a Level and Experience System( With Paydays) - by leonardo1434 - 14.09.2012, 06:37
Re: Making a Level and Experience System( With Paydays) - by Benzke - 14.09.2012, 06:49
Re: Making a Level and Experience System( With Paydays) - by Cameltoe - 14.09.2012, 06:55
Re: Making a Level and Experience System( With Paydays) - by Benzke - 14.09.2012, 06:58
Re: Making a Level and Experience System( With Paydays) - by Glint - 14.09.2012, 07:06
Re: Making a Level and Experience System( With Paydays) - by Cameltoe - 14.09.2012, 07:25
Re: Making a Level and Experience System( With Paydays) - by Glint - 14.09.2012, 07:39
Re: Making a Level and Experience System( With Paydays) - by [LB]BlAcK_DeViL - 15.09.2012, 12:11
Re: Making a Level and Experience System( With Paydays) - by TaLhA XIV - 16.09.2012, 17:20
Re: Making a Level and Experience System( With Paydays) - by Hugoca - 03.11.2012, 09:45
Re: Making a Level and Experience System( With Paydays) - by Cameltoe - 03.11.2012, 10:05
Re: Making a Level and Experience System( With Paydays) - by Hugoca - 03.11.2012, 10:24
Re: Making a Level and Experience System( With Paydays) - by Zex Tan - 05.11.2012, 23:15
Re: Making a Level and Experience System( With Paydays) - by x96664 - 08.11.2012, 22:14
Re: Making a Level and Experience System( With Paydays) - by Slavica - 06.07.2017, 22:55
Re: Making a Level and Experience System( With Paydays) - by SteSte - 06.07.2017, 23:38

Forum Jump:


Users browsing this thread: 2 Guest(s)