Hallo
ich hab 2 shops gemacht, es kommen keine errors, beide haben den selben befehl sind aber an anderen Stellen, hab ich was falsch gemacht?
//Polizei Shop
if (strcmp("/buy", cmdtext, true, 10) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 1, 1575.2797,-1620.1421,13.5469))
{
ShowPlayerDialog(playerid, ShopDialog , DIALOG_STYLE_LIST, "Shop", "Schutzweste (500,00$)\nM4 (1500,00$)\nSMG (1200,00$)\nDeagle (1000,00$)\nSchrotflinte (1000,00)\nSniper (1500,00$$)", "Kaufen", "Abbrechen");
}
return 1;
}
//Mafia Shop
if (strcmp("/buy", cmdtext, true, 10) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 1, 1087.4868,-1233.6852,15.8203))
{
ShowPlayerDialog(playerid, KaufenDialog , DIALOG_STYLE_LIST, "Shop", "Schutzweste (500,00$)\nAK47 (1500,00$)\nSMG (1200,00$)\nDeagle (1000,00$)\nSchrotflinte (1000,00)\nSniper (1500,00$$)", "Kaufen", "Abbrechen");
}
return 1;
}
return 0;
}