sscanf problem
#2

Код:
		if(!IsPlayerInRangeOfPoint(playerid, 5.5, X, Y, Z))
		{
			SendClientMessage(playerid, COLOR_RED, "You are too far away from this player.");
			return 1;
		}
to

Код:
		if(IsPlayerInRangeOfPoint(playerid, 5.5, X, Y, Z))
		{
			SendClientMessage(playerid, COLOR_RED, "You are too far away from this player.");
			return 1;
		}
what you are doing is checking if NOT in range of point by inserting ! before IsPlayerInRangeOfPoint. remove the !.
i dont see what is wrong with printf tho.
Reply


Messages In This Thread
sscanf problem - by boy - 24.01.2017, 02:05
Re: sscanf problem - by TheAngryBird - 24.01.2017, 02:31
Re: sscanf problem - by bugmenotlol - 24.01.2017, 03:28
Re: sscanf problem - by GoldenLion - 24.01.2017, 05:18
Re: sscanf problem - by boy - 24.01.2017, 20:48
Re: sscanf problem - by iamjems - 24.01.2017, 20:54
Re: sscanf problem - by boy - 24.01.2017, 21:44
Re: sscanf problem - by iamjems - 24.01.2017, 21:48
Re: sscanf problem - by boy - 24.01.2017, 21:56
Re: sscanf problem - by BroZeus - 25.01.2017, 06:18

Forum Jump:


Users browsing this thread: 1 Guest(s)