Hallo , ch wollt mal ne gate scripten habe ich aber wenn ich eintippe /yo oder /yc Dann will sie nicht runter gehen Hilfe :
#include <a_samp>
#pragma tabsize 0
#define COLOR_YELLOW 0xFFFF00AA
#define FILTERSCRIPT
#if defined FILTERSCRIPT
new y_gate;
public OnFilterScriptInit()
{
CreateObject(971, 2175.071777, -1823.563477, 18.536060, 0.0000, 0.0000, 0.0000);
print("\n--------------------------------------");
print(" 123321 xDD =)");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
#endif
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(cmdtext, "/yo", true) == 0){
MoveObject(y_gate,2175.071777, -1823.563477, 11.511168, 4);
SendClientMessage(playerid, COLOR_YELLOW,"ACHTUNG: Yakuza Gelände!");
return 1;
}
if (strcmp(cmdtext, "/yc", true) == 0){
MoveObject(y_gate,2175.071777, -1823.563477, 18.536060,4);
SendClientMessage(playerid, COLOR_YELLOW,"ACHTUNG: Yakuza Gelände!");
return 1;
}
return 0;
}