Nabend,
hab grad nen /exit befehl gemacht, der nur geht, wenn man in einer DM/MG Arena ist. Leider bekomm ich recht viele Error
Die Zeilen:
dcmd_exit(playerid,params[])
{
#pragma unused params
if(IsPlayerInDMArena(playerid)); || if(IsPlayerInMGArena(playerid));
{
SetPVarInt(playerid,"DM",0);
SetPVarInt(playerid,"MG",0);
SpawnPlayer(playerid);
}
return 1;
}
Die Errors :(:
G:\Nico\Eigene Dokumente\GTA\SAMP Server\Neu\gamemodes\testneu.pwn(2205) : error 036: empty statement
G:\Nico\Eigene Dokumente\GTA\SAMP Server\Neu\gamemodes\testneu.pwn(2205) : error 029: invalid expression, assumed zero
G:\Nico\Eigene Dokumente\GTA\SAMP Server\Neu\gamemodes\testneu.pwn(2205) : warning 215: expression has no effect
G:\Nico\Eigene Dokumente\GTA\SAMP Server\Neu\gamemodes\testneu.pwn(2205) : error 001: expected token: ";", but found "if"
G:\Nico\Eigene Dokumente\GTA\SAMP Server\Neu\gamemodes\testneu.pwn(2205) : fatal error 107: too many error messages on one line
MfG
Cr4sh