OnPlayerEditDynamicObject
#1

Hello, it was all okay since now, something happened (I didn't touch the code in this part of script), but now I have a problem.
When I create an object and edit it, it appears for 0.1s and then dissapears and EDIT_RESPONSE_CANCEL starts working.
Code:
if(response == EDIT_RESPONSE_CANCEL)
{
	SendMessage(playerid,NEUTRAL,"Statyba atљaukta.","Building cancelled");
	DestroyDynamicObject(BuildObjects[sklypid][i][buildobj]);
	Stato[playerid]=false;
	return 1;
}
This part of code executes after creating an object. How to fix this?
Reply


Messages In This Thread
OnPlayerEditDynamicObject - by zaibaslr2 - 19.05.2015, 12:44
Re: OnPlayerEditDynamicObject - by Yashas - 19.05.2015, 15:21
Re: OnPlayerEditDynamicObject - by zaibaslr2 - 20.05.2015, 15:20

Forum Jump:


Users browsing this thread: 1 Guest(s)