if(dialogid == neonmenu) //Neon Röhren//hier wird nun abgefragt welcher dialog es ist
{
if(response)
{
if(listitem == 0) //Blau//hier wenn man Blau anklickt im Dialog wird der Befehl weiter ausgeührt
{
SetPVarInt(playerid, "neon", CreateDynamicObject(18648,0,0,0,0,0,0,283));
SetPVarInt(playerid, "neon1", CreateDynamicObject(18648,0,0,0,0,0,0,283));
AttachObjectToVehicle(GetPVarInt(playerid, "neon"), GetPlayerVehicleID(playerid), 0.8,0,-0.70,0,0,0);//Hier werden die Neonröhren unter das Auto gemacht also ans auto gehängt das machen wir auch mit den anderen sachen...
AttachObjectToVehicle(GetPVarInt(playerid, "neon1"), GetPlayerVehicleID(playerid), -0.8,0,-0.70,0,0,0);
}
if(listitem == 1) //Grün
{
if(PlayerInfo[playerid][pDonateRank] > 0 || PlayerInfo[playerid][pAdmin] > 1)
{
SetPVarInt(playerid, "neon", CreateDynamicObject(18649,0,0,0,0,0,0,283));
SetPVarInt(playerid, "neon1", CreateDynamicObject(18649,0,0,0,0,0,0,283));
AttachObjectToVehicle(GetPVarInt(playerid, "neon"), GetPlayerVehicleID(playerid), 0.8,0,-0.70,0,0,0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon1"), GetPlayerVehicleID(playerid), -0.8,0,-0.70,0,0,0);
}
else
{
SendClientMessage(playerid, COLOR_RED, "Dieses Neonlicht ist nur für Premium User.");
SendClientMessage(playerid, COLOR_RED, "Normale User können nur blaue Neonlichter benutzen.");
SendClientMessage(playerid, COLOR_RED, "Wie werde ich Premium User?.");
SendClientMessage(playerid, COLOR_RED, "- PREMIUM SYSTEM IST IN BEARBEITUNG -");
}
}
if(listitem == 2) //Rot
{
if(PlayerInfo[playerid][pDonateRank] > 0 || PlayerInfo[playerid][pAdmin] > 1)
{
SetPVarInt(playerid, "neon", CreateDynamicObject(18647,0,0,0,0,0,0,283));
SetPVarInt(playerid, "neon1", CreateDynamicObject(18647,0,0,0,0,0,0,283));
AttachObjectToVehicle(GetPVarInt(playerid, "neon"), GetPlayerVehicleID(playerid), 0.8,0,-0.70,0,0,0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon1"), GetPlayerVehicleID(playerid), -0.8,0,-0.70,0,0,0);
}
else
{
SendClientMessage(playerid, COLOR_RED, "Dieses Neonlicht ist nur für Premium User.");
SendClientMessage(playerid, COLOR_RED, "Normale User können nur blaue Neonlichter benutzen.");
SendClientMessage(playerid, COLOR_RED, "Wie werde ich Premium User?.");
SendClientMessage(playerid, COLOR_RED, "Werbe 5 Leute für den Server, wenn diese Lvl 2 Erreichen");
SendClientMessage(playerid, COLOR_RED, "Erhälts du bei nachfrage Premium Rang von einem Admin.");
}
}
if(listitem == 3) //Weiß
{
if(PlayerInfo[playerid][pDonateRank] > 0 || PlayerInfo[playerid][pAdmin] > 1)
{
SetPVarInt(playerid, "neon", CreateDynamicObject(18652,0,0,0,0,0,0,283));
SetPVarInt(playerid, "neon1", CreateDynamicObject(18652,0,0,0,0,0,0,283));
AttachObjectToVehicle(GetPVarInt(playerid, "neon"), GetPlayerVehicleID(playerid), 0.8,0,-0.70,0,0,0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon1"), GetPlayerVehicleID(playerid), -0.8,0,-0.70,0,0,0);
}
else
{
SendClientMessage(playerid, COLOR_RED, "Dieses Neonlicht ist nur für Premium User.");
SendClientMessage(playerid, COLOR_RED, "Normale User können nur blaue Neonlichter benutzen.");
SendClientMessage(playerid, COLOR_RED, "Wie werde ich Premium User?.");
SendClientMessage(playerid, COLOR_RED, "Werbe 5 Leute für den Server, wenn diese Lvl 2 Erreichen");
SendClientMessage(playerid, COLOR_RED, "Erhälts du bei nachfrage Premium Rang von einem Admin.");
}
}
if(listitem == 4) //Gelb
{
if(PlayerInfo[playerid][pDonateRank] > 0 || PlayerInfo[playerid][pAdmin] > 1)
{
SetPVarInt(playerid, "neon", CreateDynamicObject(18650,0,0,0,0,0,0,283));
SetPVarInt(playerid, "neon1", CreateDynamicObject(18650,0,0,0,0,0,0,283));
AttachObjectToVehicle(GetPVarInt(playerid, "neon"), GetPlayerVehicleID(playerid), 0.8,0,-0.70,0,0,0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon1"), GetPlayerVehicleID(playerid), -0.8,0,-0.70,0,0,0);
}
else
{
SendClientMessage(playerid, COLOR_RED, "Dieses Neonlicht ist nur für Premium User.");
SendClientMessage(playerid, COLOR_RED, "Normale User können nur blaue Neonlichter benutzen.");
SendClientMessage(playerid, COLOR_RED, "Wie werde ich Premium User?.");
SendClientMessage(playerid, COLOR_RED, "Werbe 5 Leute für den Server, wenn diese Lvl 2 Erreichen");
SendClientMessage(playerid, COLOR_RED, "Erhälts du bei nachfrage Premium Rang von einem Admin.");
}
}
if(listitem == 5) //Pink
{
if(PlayerInfo[playerid][pDonateRank] > 0 || PlayerInfo[playerid][pAdmin] > 1)
{
SetPVarInt(playerid, "neon", CreateDynamicObject(18651,0,0,0,0,0,0,283));
SetPVarInt(playerid, "neon1", CreateDynamicObject(18651,0,0,0,0,0,0,283));
AttachObjectToVehicle(GetPVarInt(playerid, "neon"), GetPlayerVehicleID(playerid), 0.8,0,-0.70,0,0,0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon1"), GetPlayerVehicleID(playerid), -0.8,0,-0.70,0,0,0);
}
else
{
SendClientMessage(playerid, COLOR_RED, "Dieses Neonlicht ist nur für Premium User.");
SendClientMessage(playerid, COLOR_RED, "Normale User können nur blaue Neonlichter benutzen.");
SendClientMessage(playerid, COLOR_RED, "Wie werde ich Premium User?.");
SendClientMessage(playerid, COLOR_RED, "Werbe 5 Leute für den Server, wenn diese Lvl 2 Erreichen");
SendClientMessage(playerid, COLOR_RED, "Erhälts du bei nachfrage Premium Rang von einem Admin.");
}
}
}
}