Jeffry:
habe das so
und wenn ich ocmd:gaate,tor(playerid)
mache bekomme ich diese errrors
C:\Users\tobi\Desktop\Selfmadescript\gamemodes\Reallifescript.pwn(2638) : error 001: expected token: "(", but found ","
C:\Users\tobi\Desktop\Selfmadescript\gamemodes\Reallifescript.pwn(2638) : error 001: expected token: ";", but found "-identifier-"
C:\Users\tobi\Desktop\Selfmadescript\gamemodes\Reallifescript.pwn(2638) : error 001: expected token: ";", but found "("
C:\Users\tobi\Desktop\Selfmadescript\gamemodes\Reallifescript.pwn(2638) : 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.
ocmd:gate(playerid);
{
if(IsPlayerInRangeOfPoint(playerid,10,1590.33, -1637.92, 14.83))
{
if(!isPlayerInFrakt(playerid, 1) && sInfo[playerid][adminduty] == 0) return 1;
MoveDynamicObject(LSPDGTor, 1590.35, -1637.92, 8.33, 2.5);
SendClientMessage(playerid,ROT,"Das Tor schließt in 10sec automatisch!");
SetTimerEx("CloseGate", 10000, 0, "d", LSPDGTor);
printf("%s Öffnet das LSPDGTOR)",getPlayerName(playerid));
return 1;
}