Hi ,
ich will eine Tür im Pd zu den Zellen machen , aber ich kriege immer 4 Errors -.-
Ich habe bereits alles probiert trotzdem krieg ich 4 Errors
if (strcmp(cmdtext, "/pdgate", true) == 0)
{
if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
{
if(pdgatestatus == 0)
{
pdjailgatestatus = 1;
SendClientMessage(playerid, COLOR_LIGHTBLUE,"Das Tor wird geschlossen ! Mit /pdgate wird er geöffnet");
MoveObject(pdgatex,246.4023 72.5824 1003.6406 3.5);
}
else
{
KillTimer(pdgatetimer);
pdgatestatus = 0;
SendClientMessage(playerid, COLOR_LIGHTBLUE,"Das Tor wird geöffnet");
MoveObject (pdgatex,246.4051, 72.5859, 1009.6426, 43.5537 2.5);
return 1;
}
und hier die Errors :
C:\Users\Desktop\samp02Xserver.win32\gamemodes\prs.pwn(9074) : error 001: expected token: ",", but found "-rational value-"
C:\Users\Desktop\samp02Xserver.win32\gamemodes\prs.pwn(9074) : warning 215: expression has no effect
C:\Users\Desktop\samp02Xserver.win32\gamemodes\prs.pwn(9074) : error 001: expected token: ";", but found "-rational value-"
C:\Users\Desktop\samp02Xserver.win32\gamemodes\prs.pwn(9074) : warning 215: expression has no effect
C:\Users\Desktop\samp02Xserver.win32\gamemodes\prs.pwn(9074) : error 001: expected token: ";", but found "-rational value-"
C:\Users\Desktop\samp02Xserver.win32\gamemodes\prs.pwn(9074) : 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.