Hallo liebe Community,
Ich bin seit heute Morgen an meinem Reallife Script.
Heute morgen habe ich das Login/Register System per Dini geschrieben.
Nun, wenn ich irgendwelche Commands hinzufügen will gibts bei mir massig Errors...
:\server\gamemodes\RL.pwn(169) : error 017: undefined symbol "dcmd_register"
C:\server\gamemodes\RL.pwn(170) : error 017: undefined symbol "dcmd_login"
C:\server\gamemodes\RL.pwn(179) : warning 213: tag mismatch
C:\server\gamemodes\RL.pwn(198) : warning 213: tag mismatch
C:\server\gamemodes\RL.pwn(219) : warning 211: possibly unintended assignment
C:\server\gamemodes\RL.pwn(224) : warning 217: loose indentation
C:\server\gamemodes\RL.pwn(228) : warning 217: loose indentation
C:\server\gamemodes\RL.pwn(228) : error 029: invalid expression, assumed zero
C:\server\gamemodes\RL.pwn(240) : warning 211: possibly unintended assignment
C:\server\gamemodes\RL.pwn(249) : warning 217: loose indentation
C:\server\gamemodes\RL.pwn(249) : error 029: invalid expression, assumed zero
C:\server\gamemodes\RL.pwn(255) : warning 217: loose indentation
C:\server\gamemodes\RL.pwn(258) : error 029: invalid expression, assumed zero
C:\server\gamemodes\RL.pwn(258) : error 004: function "OnPlayerInfoChange" is not implemented
C:\server\gamemodes\RL.pwn(263) : warning 225: unreachable code
C:\server\gamemodes\RL.pwn(263) : error 029: invalid expression, assumed zero
C:\server\gamemodes\RL.pwn(263) : error 004: function "OnPlayerEnterVehicle" is not implemented
C:\server\gamemodes\RL.pwn(268) : warning 225: unreachable code
C:\server\gamemodes\RL.pwn(268) : error 029: invalid expression, assumed zero
C:\server\gamemodes\RL.pwn(268) : error 004: function "OnPlayerExitVehicle" is not implemented
C:\server\gamemodes\RL.pwn(273) : warning 225: unreachable code
C:\server\gamemodes\RL.pwn(273) : error 029: invalid expression, assumed zero
C:\server\gamemodes\RL.pwn(273) : error 004: function "OnPlayerStateChange" is not implemented
C:\server\gamemodes\RL.pwn(278) : warning 225: unreachable code
C:\server\gamemodes\RL.pwn(278) : error 029: invalid expression, assumed zero
C:\server\gamemodes\RL.pwn(278) : error 004: function "OnPlayerEnterCheckpoint" is not implemented
C:\server\gamemodes\RL.pwn(283) : warning 225: unreachable code
C:\server\gamemodes\RL.pwn(283) : error 029: invalid expression, assumed zero
C:\server\gamemodes\RL.pwn(283) : error 004: function "OnPlayerLeaveCheckpoint" is not implemented
C:\server\gamemodes\RL.pwn(288) : warning 225: unreachable code
C:\server\gamemodes\RL.pwn(288) : error 029: invalid expression, assumed zero
C:\server\gamemodes\RL.pwn(288) : error 004: function "OnPlayerEnterRaceCheckpoint" is not implemented
C:\server\gamemodes\RL.pwn(293) : warning 225: unreachable code
C:\server\gamemodes\RL.pwn(293) : error 029: invalid expression, assumed zero
C:\server\gamemodes\RL.pwn(293) : error 004: function "OnPlayerLeaveRaceCheckpoint" is not implemented
C:\server\gamemodes\RL.pwn(298) : warning 225: unreachable code
C:\server\gamemodes\RL.pwn(298) : error 029: invalid expression, assumed zero
C:\server\gamemodes\RL.pwn(298) : error 004: function "OnRconCommand" is not implemented
C:\server\gamemodes\RL.pwn(303) : warning 225: unreachable code
C:\server\gamemodes\RL.pwn(303) : error 029: invalid expression, assumed zero
C:\server\gamemodes\RL.pwn(303) : error 004: function "OnObjectMoved" is not implemented
C:\server\gamemodes\RL.pwn(308) : warning 225: unreachable code
C:\server\gamemodes\RL.pwn(308) : error 029: invalid expression, assumed zero
C:\server\gamemodes\RL.pwn(308) : error 004: function "OnPlayerObjectMoved" is not implemented
Wenn ich den Command weg nehm is alles wieder ok...
OnPlayerCommand sieht so aus :
public OnPlayerCommandText(playerid, cmdtext[])
{
dcmd(register, 8, cmdtext);
dcmd(login, 5, cmdtext);
command normal
command normal
}
Muss ich die Commands auch so schrieben wie bei register und login? Wenn ja, was ist der zweite wert( dcmd(login, wert, cmdtext);
???