13.04.2014, 18:41
(
Последний раз редактировалось MrCallum; 13.04.2014 в 19:46.
)
I have made a command so it does /addcrane and a crane appears and /destroycrane so it gets dismantled instantly
but the object does not show why? i believe its to do with streamer
this works on other script than mine, i also have a gate system ((/gedit)) that does not work here but on other servers it does.
Crane commands
but the object does not show why? i believe its to do with streamer
this works on other script than mine, i also have a gate system ((/gedit)) that does not work here but on other servers it does.
Crane commands
Код:
new CraneObject;
CMD:addcrane(playerid, params[])
{
new Float:X, Float:Y, Float:Z, Float:Distance = 5.0;
GetPlayerPos(playerid, X, Y, Z);
CraneObject = CreateDynamicObject(1378, X, Y, Z, 0.00, 0.00, 0.00, 0, 0, -1, 300.0);
SendClientMessage(playerid, COLOR_GREEN, "Crane Deployed");
EditObject(playerid, CraneObject);
return 1;
}
CMD:destroycrane(playerid, params[])
{
DestroyDynamicObject(CraneObject);
SendClientMessage(playerid, COLOR_GREEN, "Crane Destroyed");
return 1;
}

