#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
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/blubbb", cmdtext, true, 5) == 0)
{
if(CallRemoteFunction("z.B. IsAYakuza","i",playerid)==0) { return 1; }
MoveObject(y_gate, x, y, z, speed);
return 1;
}
if (strcmp("/blubbb", cmdtext, true, 5) == 0)
{
if(CallRemoteFunction("z.B. IsAYakuza","i",playerid)==0) { return 1; }
MoveObject(y_gate, x, y, z, speed);
return 1;
}
return 0;
}
#endif
FEHLER CODE::
C:\Programme\Rockstar Games\GTA San Andreas\filterscripts\Yakuza_Tor_1.pwn(12) : warning 204: symbol is assigned a value that is never used: "y_gate"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Warning.
Sollte doch eig. passen, nur die warnung ist noch ein problem,