/takejob
#1

FIXED
Reply
#2

What is the
Код:
PlayerInfo[i][pJob]
variable value?


Quote:
Originally Posted by Picharelo
Код:
			else if(GetPlayerState(i) == 1 && PlayerToPoint(2.0, i,97.9245,-160.4469,2.5868))
			{
			  if(PlayerInfo[i][pJob] > 0)
				{
				  // Nothing
				}
			  else
				{
					GameTextForPlayer(i, "~w~Register ~n~ ~g~Mehaanik ~n~ ~y~/v6tat88", 5000, 3);
				}
			}
Im at that position, and that gametext doenst show up.
Reply
#3

Theres no variable values?

Код:
enum pInfo
{
	pKey[128],
......
	pCash,
.....
	pKills,
	pDeaths,
....
	pJob,
....
};
new PlayerInfo[MAX_PLAYERS][pInfo];
Reply
#4

What I am asking is....
Is this statement preventing your game text?

Код:
if(PlayerInfo[i][pJob] > 0)
If it equals 0, your game text will not show.

Quote:
Originally Posted by Picharelo
Theres no variable values?

Код:
enum pInfo
{
	pKey[128],
......
	pCash,
.....
	pKills,
	pDeaths,
....
	pJob,
....
};
new PlayerInfo[MAX_PLAYERS][pInfo];
Reply
#5

If job is 0, then gametext shows
If job isnt 0, then gametext doenst shows.
Reply
#6

Your right, i need to get some sleep.

Anyways, why the else then?

Quote:
Originally Posted by Picharelo
If job is 0, then gametext shows
If job isnt 0, then gametext doenst shows.
Reply
#7

FIXED!
Reply
#8

Nice avatar, who is it? Papa needs a new background.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)