Hallo!
Woran kann es liegen, dass der Compiler ewig braucht zu compilen wenn ich folgendes ins Script einfüge?
MfG
public OnPlayerText(playerid, text[])
{
new message[128];
if(text[0] == '$')
{
if(iPAA(playerid,2))return rangniedrig;
if(!text[1]) return SCM(playerid, ROT,"$ [Text]"),0;
format(message, sizeof(message), "(([Adminchat] %s: %s ))", SpielerDaten[playerid][pName],text[1]);
return SAM(ROT,message),0;
}
new message1[128];
if(text[0] == '§')
{
if(iPAA(playerid,1))return rangniedrig;
if(!text[1]) return SCM(playerid, ROT,"§ [Text]"),0;
format(message1, sizeof(message1), "(([Helferchat] %s: %s ))", SpielerDaten[playerid][pName],text[1]);
return SAM(HGREEN,message1),0;
}
new message2[128];
format(message2, sizeof(message2), "{969696}%s sagt: {FFFFFF}%s", SpielerDaten[playerid][pName], text);
return ProxDetector(7.0, playerid, message2, WEISS,WEISS,WEISS,WEISS,WEISS),0;
}
public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ)
{
if(iPAA(playerid,4))return rangniedrig;
SetPlayerPosFindZ(playerid, fX, fY, fZ);
return 1;
}