SA-MP Forums Archive
Yom Button not showing up - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Yom Button not showing up (/showthread.php?tid=483252)



Yom Button not showing up - lexurs - 24.12.2013

The buttons where you press F and the card sliding animation goes on, is not happening. The object it's self isn't there... Can someone help me out because I have literally no idea why this is happening or how this fully works.

Here is the code,
Код:
if(buttonid == chiefin || buttonid == chiefout)
	{
		if((Info[playerid][pRank] < 6 && Info[playerid][pMember] == 1) || Info[playerid][pMember] != 1)
		{
			SendClientMessageEx(playerid,COLOR_GREY,"Access Denied!");
			return 1;
		}
		MoveDynamicObject(chief1,228.0,119.50000000,1009.21875000,4);
		MoveDynamicObject(chief2,230.0,119.53515625,1009.21875000,4);
	    SetTimer("CloseChief", 2500, 0);
	}