Hi,
brauch dringend Hilfe und zwar ich will ein bewegliches Tor erstellen aber versteh das Tutorial nicht ganz kann mir einer mal das Script mit diesen Coords machen, wäre seeehr nett!
980,1140.039794,-2033.403198,69.997879,0.000000,0.000000,270.109222, Zu
980,1139.832031,-2033.412475,62.533290,0.000000,0.000000,271.989288, Auf
#include <a_samp>
#pragma tabsize 0
#define COLOR_YELLOW 0xFFFF00AA
#define FILTERSCRIPT
#if defined FILTERSCRIPT
new y_gate;
public OnFilterScriptInit()
{
y_gate = CreateObject(988, 1305.335693, -802.542603, 84.179688, 0.0000, 0.0000, 0.0000);
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
#endif
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(cmdtext, "/yo", true) == 0){
MoveObject(y_gate,1299.838013, -802.5184+4,84.179688,4);
SendClientMessage(playerid, COLOR_YELLOW,"ACHTUNG: Yakuza Gelände!");
return 1;
}
if (strcmp(cmdtext, "/yc", true) == 0){
MoveObject(y_gate,1305.335693, -802.542603,84.179688,4);
SendClientMessage(playerid, COLOR_YELLOW,"ACHTUNG: Yakuza Gelände!");
return 1;
}
return 0;
}