Was ist eig Falsch dran??
#include <a_samp>
#pragma tabsize 0
#define COLOR_YELLOW 0xFFFF00AA
#define FILTERSCRIPT
#if defined FILTERSCRIPT
#define PlayerInfo
new gate;
public OnFilterScriptInit()
{
gate = CreateObject(969, 1539.4578, -1622.9738, 12.5497, 0.0000, 0.0000, 270.0000, 500.0);
print("\n--------------------------------------");
print(" ------------LSPD-gats-by-Eazy_E--------");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
#endif
public OnPlayerCommandText(playerid, cmdtext[])
{
(if (strcmp(cmdtext, "/pdo", true) == 0){
if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pLeader] == 2 ||)
(
MoveObject(gate,1539.4266, -1631.9180, 12.5497);
(
SendClientMessage(playerid, COLOR_YELLOW,"LSPD Tor wird geöffnet!");
)
return 1;
}
(if (strcmp(cmdtext, "/pdc", true) == 0){
if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pLeader] == 2 ||)
(
MoveObject(gate,1539.4578, -1622.9738, 12.5497);
(
SendClientMessage(playerid, COLOR_YELLOW,"LSPD wird geschlossen!");
)
return 1;
}
return 0;
}
Hilfe wäre nett^^
Errros sind
C:\Dokumente und Einstellungen\Wesker\Desktop\Server1\gamemodes\gate.pwn(13) : warning 202: number of arguments does not match definition
C:\Dokumente und Einstellungen\Wesker\Desktop\Server1\gamemodes\gate.pwn(32) : error 029: invalid expression, assumed zero
C:\Dokumente und Einstellungen\Wesker\Desktop\Server1\gamemodes\gate.pwn(32) : warning 215: expression has no effect
C:\Dokumente und Einstellungen\Wesker\Desktop\Server1\gamemodes\gate.pwn(32) : error 001: expected token: ";", but found ")"
C:\Dokumente und Einstellungen\Wesker\Desktop\Server1\gamemodes\gate.pwn(32) : error 029: invalid expression, assumed zero
C:\Dokumente und Einstellungen\Wesker\Desktop\Server1\gamemodes\gate.pwn(32) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Alles anzeigen