SA-MP Forums Archive
Yom Buttons Issue - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Yom Buttons Issue (/showthread.php?tid=273249)



Yom Buttons Issue - EdeniaGaming - 31.07.2011

Before I give detail here is the issue, The keypad is not showing up for some reason why is this ?

Код:
new LSPDDoor;

if(buttonid == LSPDDoor)
	{
	    MoveDynamicObject(LSPDDoor1,253.14941406,111.59960938,1002.21502686,4);
	    MoveDynamicObject(LSPDDoor2,253.18457031,106.59960938,1002.21502686,4);
		SetTimer("CloseLSPDDoor", 2500, 0);
	}

LSPDDoor= CreateButton(253.44921875,110.59960938,1003.79998779,90.00000000);
What am I doing wrong ? Am I using a outdated yom_buttons.inc ?


Re: Yom Buttons Issue - Jack_Leslie - 01.08.2011

Do you have:
pawn Код:
LSPDDoor= CreateButton(253.44921875,110.59960938,1003.79998779,90.00000000);
on OnGameModeInit?


Re: Yom Buttons Issue - EdeniaGaming - 01.08.2011

yes I do


Re: Yom Buttons Issue - Famalamalam - 01.08.2011

Does the CreateButton use "CreateDynamicObject" ?


Re: Yom Buttons Issue - EdeniaGaming - 01.08.2011

I have no idea


Re: Yom Buttons Issue - EdeniaGaming - 01.08.2011

Anyone ?


Re: Yom Buttons Issue - EdeniaGaming - 01.08.2011

Solved