Hallo liebe Community,
ich bitte um Hilfe!
Ich habe ein Problem das ich nicht lösen kann, und würde mich über eine hilfreiche Antwort freuen!
Code:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/supmobil", true) == 0)
{
new name[MAX_PLAYER_NAME];
new Float:X, Float:Y, Float:Z;
GetPlayerName(playerid, name, sizeof(name));
GetPlayerPos(playerid, X,Y,Z);
CreateVehicle(411, X+3,Y+3,Z+3,0.0,85,85,60);
SendClientMessage(playerid, Gelb, "Du hast dir ein Supportermobil gespawnt!");
return 1;
}
}
return SendClientMessage(playerid, NEU_WEIß,"Der Befehl wurde nicht gefunden. Verwende {088A08}/help{F7F7F7}.");
return 0;
}
Error:
D:\Atilla\Spiele\GTA San Andreas\SAMP Server\pawno\include\ForAllPlayers.inc(20) : warning 201: redefinition of constant/macro (symbol "OnPlayerConnect")
D:\Atilla\Spiele\GTA San Andreas\SAMP Server\pawno\include\streamer.inc(371) : warning 201: redefinition of constant/macro (symbol "OnPlayerDisconnect")
D:\Atilla\Spiele\GTA San Andreas\SAMP Server\gamemodes\SAR.pwn(88) : warning 235: public function lacks forward declaration (symbol "UpdateClock")
D:\Atilla\Spiele\GTA San Andreas\SAMP Server\gamemodes\SAR.pwn(98) : warning 217: loose indentation
D:\Atilla\Spiele\GTA San Andreas\SAMP Server\gamemodes\SAR.pwn(134) : warning 202: number of arguments does not match definition
D:\Atilla\Spiele\GTA San Andreas\SAMP Server\gamemodes\SAR.pwn(186) : warning 209: function "ocmdOnPlayerCommandText" should return a value
D:\Atilla\Spiele\GTA San Andreas\SAMP Server\gamemodes\SAR.pwn(187) : error 010: invalid function or declaration
D:\Atilla\Spiele\GTA San Andreas\SAMP Server\gamemodes\SAR.pwn(188) : error 010: invalid function or declaration
D:\Atilla\Spiele\GTA San Andreas\SAMP Server\gamemodes\SAR.pwn(326) : warning 203: symbol is never used: "playerid"
D:\Atilla\Spiele\GTA San Andreas\SAMP Server\gamemodes\SAR.pwn(326 -- 331) : warning 203: symbol is never used: "BadWords"
D:\Atilla\Spiele\GTA San Andreas\SAMP Server\gamemodes\SAR.pwn(326 -- 331) : warning 203: symbol is never used: "EnableM_Bot"
D:\Atilla\Spiele\GTA San Andreas\SAMP Server\gamemodes\SAR.pwn(326 -- 331) : warning 203: symbol is never used: "M_OnPlayerCommandText"
D:\Atilla\Spiele\GTA San Andreas\SAMP Server\gamemodes\SAR.pwn(326 -- 331) : warning 203: symbol is never used: "M_OnPlayerConnect"
D:\Atilla\Spiele\GTA San Andreas\SAMP Server\gamemodes\SAR.pwn(326 -- 331) : warning 203: symbol is never used: "M_OnPlayerDeath"
D:\Atilla\Spiele\GTA San Andreas\SAMP Server\gamemodes\SAR.pwn(326 -- 331) : warning 203: symbol is never used: "M_OnPlayerSpawn"
D:\Atilla\Spiele\GTA San Andreas\SAMP Server\gamemodes\SAR.pwn(326 -- 331) : warning 203: symbol is never used: "M_OnPlayerStateChange"
D:\Atilla\Spiele\GTA San Andreas\SAMP Server\gamemodes\SAR.pwn(326 -- 331) : warning 203: symbol is never used: "M_OnPlayerUpdate"
D:\Atilla\Spiele\GTA San Andreas\SAMP Server\gamemodes\SAR.pwn(326 -- 331) : warning 203: symbol is never used: "ret_memcpy"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.