EnablePlayerCameraTarget Not Working (Question)
#5

Quote:
Originally Posted by NaS
Посмотреть сообщение
Can't tell if it's a bug or not. I can only tell that it's working for me on Linux and my PC, more I cannot say.

You can try running a test server with no plugins, and only one test gamemode with this function on your VPS. If it doesn't work for you then, it's a bug that should be possible to reproduce somehow.
here's my code.
Код:
timer...
foreach(new playerid: Player)
	{
		if(!IsPlayerLogged{playerid} || GetPlayerState(playerid) == PLAYER_STATE_WASTED || IsPlayerNPC(playerid)) continue;
		if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
		{
			new obj = GetPlayerCameraTargetDynObject(playerid);
			if(obj != INVALID_OBJECT_ID)
			{
				for(new x = 0; x < MAX_OBJECTS; x++)
				{
					if(IsValidDynamicObject(LootData[x][lId]) && obj == LootData[x][lId])
					{
						return ShowPlayerInfo(playerid, LootData[x][lName], "Press Left '~yellow~Alt~white~' to pick up the item");
					} 
......
...
...
..
Reply


Messages In This Thread
EnablePlayerCameraTarget Not Working (Question) - by ToiletDuck - 26.09.2017, 13:17
Re: EnablePlayerCameraTarget Not Working (Question) - by NaS - 26.09.2017, 14:06
Re: EnablePlayerCameraTarget Not Working (Question) - by ToiletDuck - 26.09.2017, 14:23
Re: EnablePlayerCameraTarget Not Working (Question) - by NaS - 26.09.2017, 14:56
Re: EnablePlayerCameraTarget Not Working (Question) - by ToiletDuck - 26.09.2017, 15:44
Re: EnablePlayerCameraTarget Not Working (Question) - by NaS - 26.09.2017, 16:05

Forum Jump:


Users browsing this thread: 1 Guest(s)