Hallo ich habe eben folgendes Tutorial befolgt: [ SCRIPTING ] Simples Login- / Registersystem (mit DINI) , um ein Loginsystem zu scripten.
Ich habe es selbst abgeschrieben, nur bekomme an einer Stelle ganz viele Errors. Ich habe auch schon probiert, den Teil zu kopieren und in mein Script einzufügen - ohne Erfolg.
Hier ist mein Script:
http://pastebin.com/yLhSaxTi
Hier sind die Errors vom Compiler:
C:\Users\Lars\Desktop\SAMP_CODING\gamemodes\gamemode.pwn(148) : warning 217: loose indentation
C:\Users\Lars\Desktop\SAMP_CODING\gamemodes\gamemode.pwn(156) : warning 217: loose indentation
C:\Users\Lars\Desktop\SAMP_CODING\gamemodes\gamemode.pwn(158) : warning 219: local variable "save" shadows a variable at a preceding level
C:\Users\Lars\Desktop\SAMP_CODING\gamemodes\gamemode.pwn(175) : error 079: inconsistent return types (array & non-array)
C:\Users\Lars\Desktop\SAMP_CODING\gamemodes\gamemode.pwn(178) : warning 217: loose indentation
C:\Users\Lars\Desktop\SAMP_CODING\gamemodes\gamemode.pwn(178) : error 029: invalid expression, assumed zero
C:\Users\Lars\Desktop\SAMP_CODING\gamemodes\gamemode.pwn(178) : error 004: function "OnPlayerEnterVehicle" is not implemented
C:\Users\Lars\Desktop\SAMP_CODING\gamemodes\gamemode.pwn(180) : error 079: inconsistent return types (array & non-array)
C:\Users\Lars\Desktop\SAMP_CODING\gamemodes\gamemode.pwn(183) : warning 225: unreachable code
C:\Users\Lars\Desktop\SAMP_CODING\gamemodes\gamemode.pwn(183) : error 029: invalid expression, assumed zero
C:\Users\Lars\Desktop\SAMP_CODING\gamemodes\gamemode.pwn(183) : error 004: function "OnPlayerExitVehicle" is not implemented
C:\Users\Lars\Desktop\SAMP_CODING\gamemodes\gamemode.pwn(185) : error 079: inconsistent return types (array & non-array)
C:\Users\Lars\Desktop\SAMP_CODING\gamemodes\gamemode.pwn(188) : warning 225: unreachable code
C:\Users\Lars\Desktop\SAMP_CODING\gamemodes\gamemode.pwn(188) : error 029: invalid expression, assumed zero
C:\Users\Lars\Desktop\SAMP_CODING\gamemodes\gamemode.pwn(188) : error 004: function "OnPlayerStateChange" is not implemented
C:\Users\Lars\Desktop\SAMP_CODING\gamemodes\gamemode.pwn(190) : error 079: inconsistent return types (array & non-array)
C:\Users\Lars\Desktop\SAMP_CODING\gamemodes\gamemode.pwn(193) : warning 225: unreachable code
C:\Users\Lars\Desktop\SAMP_CODING\gamemodes\gamemode.pwn(193) : error 029: invalid expression, assumed zero
C:\Users\Lars\Desktop\SAMP_CODING\gamemodes\gamemode.pwn(193) : error 004: function "OnPlayerEnterCheckpoint" is not implemented
C:\Users\Lars\Desktop\SAMP_CODING\gamemodes\gamemode.pwn(195) : error 079: inconsistent return types (array & non-array)
C:\Users\Lars\Desktop\SAMP_CODING\gamemodes\gamemode.pwn(198) : warning 225: unreachable code
C:\Users\Lars\Desktop\SAMP_CODING\gamemodes\gamemode.pwn(198) : error 029: invalid expression, assumed zero
C:\Users\Lars\Desktop\SAMP_CODING\gamemodes\gamemode.pwn(198) : error 004: function "OnPlayerLeaveCheckpoint" is not implemented
C:\Users\Lars\Desktop\SAMP_CODING\gamemodes\gamemode.pwn(200) : error 079: inconsistent return types (array & non-array)
C:\Users\Lars\Desktop\SAMP_CODING\gamemodes\gamemode.pwn(203) : warning 225: unreachable code
C:\Users\Lars\Desktop\SAMP_CODING\gamemodes\gamemode.pwn(203) : error 029: invalid expression, assumed zero
C:\Users\Lars\Desktop\SAMP_CODING\gamemodes\gamemode.pwn(203) : error 004: function "OnPlayerEnterRaceCheckpoint" is not implemented
C:\Users\Lars\Desktop\SAMP_CODING\gamemodes\gamemode.pwn(205) : error 079: inconsistent return types (array & non-array)
C:\Users\Lars\Desktop\SAMP_CODING\gamemodes\gamemode.pwn(208) : warning 225: unreachable code
C:\Users\Lars\Desktop\SAMP_CODING\gamemodes\gamemode.pwn(208) : error 029: invalid expression, assumed zero
C:\Users\Lars\Desktop\SAMP_CODING\gamemodes\gamemode.pwn(208) : error 004: function "OnPlayerLeaveRaceCheckpoint" is not implemented
C:\Users\Lars\Desktop\SAMP_CODING\gamemodes\gamemode.pwn(210) : error 079: inconsistent return types (array & non-array)
C:\Users\Lars\Desktop\SAMP_CODING\gamemodes\gamemode.pwn(213) : warning 225: unreachable code
C:\Users\Lars\Desktop\SAMP_CODING\gamemodes\gamemode.pwn(213) : error 029: invalid expression, assumed zero
C:\Users\Lars\Desktop\SAMP_CODING\gamemodes\gamemode.pwn(213) : error 004: function "OnRconCommand" is not implemented
C:\Users\Lars\Desktop\SAMP_CODING\gamemodes\gamemode.pwn(215) : error 079: inconsistent return types (array & non-array)
C:\Users\Lars\Desktop\SAMP_CODING\gamemodes\gamemode.pwn(218) : warning 225: unreachable code
C:\Users\Lars\Desktop\SAMP_CODING\gamemodes\gamemode.pwn(218) : error 029: invalid expression, assumed zero
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
Außerdem wollte ich mal fragen, was "loose identation" bedeutet.
Ich hoffe jemand findet den Fehler und kann mir helfen :).
Liebe Grüße,
lars96