EditDynamicObject function doesn't work
#1

Hi!

Since i updated my server to 0.3.7 i have a problem with EditDynamicObject. When EditDynamicObject it's called, the XOY buttons doesn't show, so i can't edit the object.

I've updated Streamer Plugin and Pawno Includes.

Код:
	if(CompareStrings(type, "place"))
	{
	    if(meal[playerid] == 0) return SCM(playerid, COLOR_GREY, "Nu ai cumparat un meniu.");
	    if(GetPVarInt(playerid, "PlacedFF") == 1) { SCM(playerid, COLOR_GREY, "Ai pus deja meniul pe masa."); SCM(playerid, COLOR_GREY, "HINT: Poti folosi '/meal edit' daca ai asezat obiectul prost."); return 1; }
	    SCM(playerid, COLOR_OOC, "O chelnerita va veni in 5 minute si iti va ridica tava.");
	    SetPVarInt(playerid, "EditFF", 1);
	    new Float:X, Float:Y, Float:Z;
	    GetPlayerPos(playerid, X, Y, Z);
	    RemovePlayerAttachedObject(playerid, 1);
	    meal_object[playerid] = CreateDynamicObject(2212, X, Y+0.1, Z, -59.0, 62.0, 135.0);
	    meal_rtimer[playerid] = SetTimerEx("RemoveFFObject", 300000, false, "i", playerid);
	    EditDynamicObject(playerid, meal_object[playerid]); //HERE
	}
Reply


Messages In This Thread
EditDynamicObject function doesn't work - by idontcareRO - 05.05.2015, 14:54
Re: EditDynamicObject function doesn't work - by kristo - 05.05.2015, 15:13
Re: EditDynamicObject function doesn't work - by idontcareRO - 05.05.2015, 16:11
Re: EditDynamicObject function doesn't work - by Jefff - 05.05.2015, 16:14

Forum Jump:


Users browsing this thread: 1 Guest(s)