Hey Leute hab da ne dringende frage wie ändere ich position von Drivein hier der code
if(strcmp("/drivein", cmdtext, true) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 15.0, 1214.4454,-904.4616,42.9208))
{
if(!IsPlayerInAnyVehicle(playerid))
{
SendClientMessage(playerid, COLOR_GRAD1, "Du bist in keinem Fahrzeug!");
return 1;
}
FreezePlayer(playerid);
ShowPlayerDialog(playerid, BSN, DIALOG_STYLE_LIST, "BSN - Drive IN Bestellung", "3 Chicken Nuggets (3$)\n12 Chicken Nuggets (10$)\n20 Chicken Nuggets (16$)\nPommes (2$)\nCheesburger (5$)\nChickenburger (8$)\nBig Mac (10$)\nCola (3$)\nFanta (3$)\nSprite (3$)", "Kaufen", "Abbrechen");
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "Du bist nicht am Drive In Schalter am BSN!");
}
return 1;
}