Hi ich bin ja neu im Scripten und wolte ein /help befehl machen doch dann kamen die errors
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(100) : error 017: undefined symbol "COLOR_RED"
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(101) : error 017: undefined symbol "COLOR_RED"
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(102) : error 017: undefined symbol "COLOR_RED"
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(103) : error 017: undefined symbol "COLOR_RED"
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(105) : warning 225: unreachable code
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(105) : warning 217: loose indentation
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(109) : warning 225: unreachable code
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(112) : warning 217: loose indentation
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(112) : error 029: invalid expression, assumed zero
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(112) : error 004: function "OnPlayerEnterVehicle" is not implemented
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(117) : warning 225: unreachable code
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(117) : error 029: invalid expression, assumed zero
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(117) : error 004: function "OnPlayerExitVehicle" is not implemented
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(122) : warning 225: unreachable code
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(122) : error 029: invalid expression, assumed zero
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(122) : error 004: function "OnPlayerStateChange" is not implemented
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(127) : warning 225: unreachable code
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(127) : error 029: invalid expression, assumed zero
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(127) : error 004: function "OnPlayerEnterCheckpoint" is not implemented
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(132) : warning 225: unreachable code
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(132) : error 029: invalid expression, assumed zero
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(132) : error 004: function "OnPlayerLeaveCheckpoint" is not implemented
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(137) : warning 225: unreachable code
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(137) : error 029: invalid expression, assumed zero
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(137) : error 004: function "OnPlayerEnterRaceCheckpoint" is not implemented
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(142) : warning 225: unreachable code
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(142) : error 029: invalid expression, assumed zero
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(142) : error 004: function "OnPlayerLeaveRaceCheckpoint" is not implemented
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(147) : warning 225: unreachable code
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(147) : error 029: invalid expression, assumed zero
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(147) : error 004: function "OnRconCommand" is not implemented
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(152) : warning 225: unreachable code
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(152) : error 029: invalid expression, assumed zero
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(152) : error 004: function "OnPlayerRequestSpawn" is not implemented
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(157) : warning 225: unreachable code
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(157) : error 029: invalid expression, assumed zero
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(157) : error 004: function "OnObjectMoved" is not implemented
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(162) : warning 225: unreachable code
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(162) : error 029: invalid expression, assumed zero
C:\Users\pc\Desktop\Selfmade RL Server\gamemodes\Carbon_Reallife.pwn(162) : error 004: function "OnPlayerObjectMoved" is not implemented
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
Was ich Eingefügt habe?:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext,"/help",true) == 0)
{
SendClientMessage(playerid,COLOR_RED," Danke Das du Carbon Reallife Besucht hast.");
SendClientMessage(playerid,COLOR_RED," Wie Du Siehst ist der server in aufbau.!");
SendClientMessage(playerid,COLOR_RED," Das Hier wird Ein Selfmade Server und unsere Scripter strengen sich");
SendClientMessage(playerid,COLOR_RED," Sehr An diesen Server so schnell wie möglich Fertig zu bringen!");
return 1;
{
// Do something here
return 1;
}
return 0;
}