hab mal gangzones erstellt, hab aber fehler:
E:\Xperience-Reallife\gamemodes\geld-xravs.pwn(7086) : error 029: invalid expression, assumed zero
E:\Xperience-Reallife\gamemodes\geld-xravs.pwn(7090) : error 029: invalid expression, assumed zero
E:\Xperience-Reallife\gamemodes\geld-xravs.pwn(7090) : warning 215: expression has no effect
E:\Xperience-Reallife\gamemodes\geld-xravs.pwn(7090) : error 001: expected token: ";", but found "if"
E:\Xperience-Reallife\gamemodes\geld-xravs.pwn(7090) : error 029: invalid expression, assumed zero
E:\Xperience-Reallife\gamemodes\geld-xravs.pwn(7090) : fatal error 107: too many error messages on one line
hier die abfrage wegen den colors... zeile 7086 ist gleich die erste
if(dini_Int("/mw/mz1.txt","frak") == 7))
{
mz1farbe = YAKUZAcolor;
}
else if(dini_Int("/mw/mz1.txt","frak") == 8))
{
mz1farbe = LCNcolor;
}
else if(dini_Int("/mw/mz1.txt","frak") == 9))
{
mz1farbe = RUSSENcolor;
}
if(dini_Int("/mw/mz2.txt","frak") == 7))
{
mz1farbe = YAKUZAcolor;
}
else if(dini_Int("/mw/mz2.txt","frak") == 8))
{
mz1farbe = LCNcolor;
}
else if(dini_Int("/mw/mz2.txt","frak") == 9))
{
mz1farbe = RUSSENcolor;
}
if(dini_Int("/mw/mz3.txt","frak") == 7))
{
mz1farbe = YAKUZAcolor;
}
else if(dini_Int("/mw/mz3.txt","frak") == 8))
{
mz1farbe = LCNcolor;
}
else if(dini_Int("/mw/mz3.txt","frak") == 9))
{
mz1farbe = RUSSENcolor;
}
if(dini_Int("/mw/mz4.txt","frak") == 7))
{
mz1farbe = YAKUZAcolor;
}
else if(dini_Int("/mw/mz4.txt","frak") == 8))
{
mz1farbe = LCNcolor;
}
else if(dini_Int("/mw/mz4.txt","frak") == 9))
{
mz1farbe = RUSSENcolor;
}
if(dini_Int("/mw/mz5.txt","frak") == 7))
{
mz1farbe = YAKUZAcolor;
}
else if(dini_Int("/mw/mz5.txt","frak") == 8))
{
mz1farbe = LCNcolor;
}
else if(dini_Int("/mw/mz5.txt","frak") == 9))
{
mz1farbe = RUSSENcolor;
}
GangZoneShowForPlayer(playerid, mz1, mz1farbe);
GangZoneShowForPlayer(playerid, mz2, mz2farbe);
GangZoneShowForPlayer(playerid, mz3, mz3farbe);
GangZoneShowForPlayer(playerid, mz4, mz4farbe);
GangZoneShowForPlayer(playerid, mz5, mz5farbe);
also in den scriptfiles wir die fraktionsid gespeichert, und bei onplayerspawn wird dann die gangzoe für den spieler angezeigt...
also hab bei ongamemodeinit gangzonecreate usw.