Hi Leute, ich hab ein Problem.
Immer wenn ich den Command eingebe, funktioniert er nicht.
Ich hab noch einen anderen Command Namens /deagle drin, wo auf einmal Sätze aus meinem anderen Command kommen.
if(!strcmp("/warmupverlassen",cmdtext, true, 10) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 11.0, 2387.5325,1143.3420,34.2529))
{
SendClientMessage(playerid,0xFF8000FF,"Willkommen am Spawn.");
SetPlayerPos(playerid, 1488.2256,716.4981,10.8203);
return 1;
}
else
{
SendClientMessage(playerid,0xFF8000FF,"Du bist nicht in der Warm Up Runde.");
}
return 1;
}
Nur Warnings..
D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(73) : warning 202: number of arguments does not match definition
D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(74) : warning 202: number of arguments does not match definition
D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(75) : warning 202: number of arguments does not match definition
D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(76) : warning 202: number of arguments does not match definition
D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(77) : warning 202: number of arguments does not match definition
D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(78) : warning 202: number of arguments does not match definition
D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(79) : warning 202: number of arguments does not match definition
D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(80) : warning 202: number of arguments does not match definition
D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(174) : warning 217: loose indentation
D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(189) : warning 217: loose indentation
D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(231) : warning 225: unreachable code
D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(231) : warning 217: loose indentation
D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(236) : warning 213: tag mismatch
D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(251) : warning 217: loose indentation
D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(259) : warning 217: loose indentation
D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(279) : warning 209: function "OnPlayerCommandText" should return a value
D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(420) : warning 235: public function lacks forward declaration (symbol "UpdateTime")
D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(427) : warning 235: public function lacks forward declaration (symbol "PayDay")
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
18 Warnings.
Man ist halt direkt nach dem Serverconnect in der Warmup Runde, und kann diese halt Verlassen und spawnt dann am Spawn.