Kann mir wer helfen
Fehler
Zeile (523) : error 079: inconsistent return types (array & non-array)
Zeile (525) : warning 217: loose indentation
Zeile (525) : error 029: invalid expression, assumed zero
Zeile (525) : error 017: undefined symbol "ocmd_opengate"
Zeile (525) : error 029: invalid expression, assumed zero
Zeile (525) : fatal error 107: too many error messages on one line
6 Errors, 1 Warnungen
Du hast Errors im Skript. Kompilierung abgebrochen
PWNMod Compiler Version 1.2
(c) Trooper[Y]
In Kooperation mit GTA-Servers.de
Zeile 525:
ocmd:opengate(playerid,params[])
Zeile 523:
return 1;
Ganze:
ocmd:aauto(playerid,params[])
{
if(Spieler[playerid][Admin] > 6 || IsPlayerAdmin(playerid)){
new Float:x, Float:y, Float:z, Float:a;
GetPlayerPos(playerid, x, y, z);
GetPlayerFacingAngle(playerid, a);
CreateVehicle(560, x, y+2, z+1, a, 0xFF00FFFF, 0xFF00FFFF, -1);
return 1;
}
ocmd:opengate(playerid,params[])
{
if(Spieler[playerid][Admin] > 0 || IsPlayerAdmin(playerid)){
SendClientMessage(playerid,0x000FFFFF,"Du hast das Tor geöffnet!");
MoveObject(tor1,987.29998779297, -1378.5999755859, 12.300000190735-10,5);
return 1;
}