kann mir mal einer helfen ich wollte die amx von diesem script erstellen#include <a_samp>
#pragma tabsize 4
#define COLOR_YELLOW 0xFFFF00AA
new y_gate[2];
public OnFilterScriptInit()
{
y_gate[0] = CreateObject(986, 1548.804443, -1632.485352, 14.093480, 0.0000, 0.0000, 90.0000);
y_gate[1] = CreateObject(986, 1548.832520, -1624.447632, 14.093480, 0.0000, 0.0000, 270.0000);
print("\n--------------------------------------");
print(" Blank Filterscript by W4nnA");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(cmdtext, "/auf", true) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 5, 1532.952759, -1623.258911 12.411046 ));
{
MoveObject(y_gate[0],1548.804443, -1634.387207, 5.093480,4);
SendClientMessage(playerid, COLOR_YELLOW,"ACHTUNG: Nur Für Cops!");
}
if(IsPlayerInRangeOfPoint(playerid, 5, 1532.952759, -1623.258911 12.411046 ));
{
MoveObject(y_gate[1],1548.832520, -1624.447632, 5.093480,4);
SendClientMessage(playerid, COLOR_YELLOW,"ACHTUNG: Nur Für Cops!");
}
return 1;
}
if (strcmp(cmdtext, "/zu", true) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 5, 1532.952759, -1623.258911 12.411046 ));
{
MoveObject(y_gate[0],1548.804443, -1632.485352, 14.093480,4);
SendClientMessage(playerid, COLOR_YELLOW,"ACHTUNG: Nur Für Cops!");
}
if(IsPlayerInRangeOfPoint(playerid, 5, 1532.952759, -1623.258911 12.411046 ));
{
MoveObject(y_gate[1],1548.832520, -1624.447632, 14.093480,4);
SendClientMessage(playerid, COLOR_YELLOW,"ACHTUNG: Nur Für Cops!");
}
return 1;
}
return 0;
}
Aber dan Kommen Diese ERRORS:
C:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\filterscripts\lspd1.pwn(30) : error 001: expected token: ",", but found "-rational value-"
C:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\filterscripts\lspd1.pwn(30) : warning 215: expression has no effect
C:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\filterscripts\lspd1.pwn(30) : error 001: expected token: ";", but found ")"
C:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\filterscripts\lspd1.pwn(30) : error 029: invalid expression, assumed zero
C:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\filterscripts\lspd1.pwn(30) : fatal error 107: too many error messages on one line