How to give levels to everyone?
#1

I am making a command which when you type in you get a dialog to choose, money or level.
When you choose you have to type in how many levels you want to give to everyone.
For example: If I am at level 3, and an admin does that command, chooses level, types in 5, I get 5 more levels,
I don't want him to set my level to five, but to add that to what I already have.

Here's what I'm trying to do:
Код:
		case DIALOG_NAGRADE_LEVEL:
		{
			if(response)
			{
				for(new i; i < GetMaxPlayers(); i++)
				{
					new leveligraca = GetPlayerScore(i);
					SetPlayerScore(leveligraca, ++(inputtext));
				}
			}
		}
I get this error: must be lvalue (non-constant)
How should I do this?
Reply


Messages In This Thread
[SOLVED]How to give levels to everyone? - by AmarPlayer - 11.09.2017, 16:53
Re: How to give levels to everyone? - by Kane - 11.09.2017, 18:25
Re: How to give levels to everyone? - by AmarPlayer - 11.09.2017, 18:59

Forum Jump:


Users browsing this thread: 1 Guest(s)