[SOLVED]Players ain't moving when my ranks script is on server
#5

yea i can see the people around moving but my onplayerupdate just don't work xD example i have a score of 7 but it doesn't upgrade my rank... it stays on 'normal guy' . Why?
heres my onplayerupdate
Code:
public OnPlayerUpdate(playerid)
{
	if(GetPlayerScore(playerid) == 5)
 	{
	SetPlayerRank(playerid, 1);
	}
	else if(GetPlayerScore(playerid) == 20)
	{
	SetPlayerRank(playerid, 2);
	}
	else if(GetPlayerScore(playerid) == 35)
 	{
	SetPlayerRank(playerid, 3);
	}
	else if(GetPlayerScore(playerid) == 50)
	{
	SetPlayerRank(playerid, 4);
	}
	else if(GetPlayerScore(playerid) == 75)
	{
	SetPlayerRank(playerid, 5);
	}
	else if(GetPlayerScore(playerid) == 100)
	{
	SetPlayerRank(playerid, 6);
	}
	else if(GetPlayerScore(playerid) == 150)
	{
	SetPlayerRank(playerid, 7);
	}
	else if(GetPlayerScore(playerid) == 175)
	{
	SetPlayerRank(playerid, 8);
	}
	else if(GetPlayerScore(playerid) == 200)
	{
	SetPlayerRank(playerid, 9);
	}
	else if(GetPlayerScore(playerid) == 250)
	{
	SetPlayerRank(playerid, 10);
	}
	else if(GetPlayerScore(playerid) == 300)
	{
	SetPlayerRank(playerid, 11);
	}
	else if(GetPlayerScore(playerid) == 1000)
	{
	SetPlayerRank(playerid, 12);
	}
	return 1;
}
Reply


Messages In This Thread
[SOLVED]Players ain't moving when my ranks script is on server - by pmk1 - 20.03.2010, 18:02
Re: Players ain't moving when my ranks script is on server - by pmk1 - 21.03.2010, 03:03
Re: Players ain't moving when my ranks script is on server - by Babul - 21.03.2010, 03:57
Re: Players ain't moving when my ranks script is on server - by pmk1 - 21.03.2010, 14:18
Re: Players ain't moving when my ranks script is on server - by pmk1 - 22.03.2010, 19:56
Re: Players ain't moving when my ranks script is on server - by pmk1 - 22.03.2010, 20:34
Re: Players ain't moving when my ranks script is on server - by pmk1 - 22.03.2010, 21:25
Re: Players ain't moving when my ranks script is on server - by Zimon95 - 22.03.2010, 21:30
Re: Players ain't moving when my ranks script is on server - by pmk1 - 22.03.2010, 21:32
Re: Players ain't moving when my ranks script is on server - by pmk1 - 22.03.2010, 21:37
Re: Players ain't moving when my ranks script is on server - by pmk1 - 22.03.2010, 21:43
Re: Players ain't moving when my ranks script is on server - by Joe Staff - 22.03.2010, 21:45
Re: Players ain't moving when my ranks script is on server - by pmk1 - 22.03.2010, 22:04
Re: Players ain't moving when my ranks script is on server - by pmk1 - 23.03.2010, 20:37
Re: Players ain't moving when my ranks script is on server - by pmk1 - 23.03.2010, 20:54
Re: Players ain't moving when my ranks script is on server - by pmk1 - 23.03.2010, 21:36
Re: Players ain't moving when my ranks script is on server - by pmk1 - 24.03.2010, 20:45
Re: Players ain't moving when my ranks script is on server - by pmk1 - 24.03.2010, 20:55
Re: Players ain't moving when my ranks script is on server - by pmk1 - 24.03.2010, 21:02
Re: [SOLVED]Players ain't moving when my ranks script is on server - by pmk1 - 25.03.2010, 20:49

Forum Jump:


Users browsing this thread: 1 Guest(s)