hi also
habe diese filterscriptvorlage genommen aber da kommen imm errors wenn ich die daten eingetragen habe
/*
Fs By luma
*/
#include <a_samp>
#pragma tabsize 0
#define COLOR_YELLOW 0xFFFF00AA
#define FILTERSCRIPT
#if defined FILTERSCRIPT
new agate;
public OnFilterScriptInit()
{
agate = CreateObject(980, 2182.285156, -1765.779907, 15.148758, 0.0000, 0.0000, 0.0000);
print("\n-------------------");
print(" ArmyGate FS by luma");
print("---------------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#endif
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(cmdtext, "/mv", true) == 0)
{
(34)>>>>>>> MoveObject(agate, 2192.215576, -1765-365601 15.326481,4);
SendClientMessage(playerid, COLOR_YELLOW,"Das Tor wird geöffnet!");
return 1;
}
if (strcmp(cmdtext, "/mb", true) == 0)
{
MoveObject(agate, 2182.285156, -1765.779907 15.148758,4);
SendClientMessage(playerid, COLOR_YELLOW,"Das Tor wird geschlossen!");
return 1;
}
return 0;
}
Die ERRORS/ WARNINGS sind :
ZitatC:\MTA SA\SA\filterscripts\Untitled.pwn(34) : error 001: expected token: ",", but found "-rational value-"
C:\MTA SA\SA\filterscripts\Untitled.pwn(34) : warning 215: expression has no effect
C:\MTA SA\SA\filterscripts\Untitled.pwn(34) : warning 215: expression has no effect
C:\MTA SA\SA\filterscripts\Untitled.pwn(34) : error 001: expected token: ";", but found ")"
C:\MTA SA\SA\filterscripts\Untitled.pwn(34) : error 029: invalid expression, assumed zero
C:\MTA SA\SA\filterscripts\Untitled.pwn(34) : fatal error 107: too many error messages on one line
pls help