hey guys ive got a problem with dialogs... for example , i installed C_PANEL admin system...i used /cpanel to open dialog...
after opening the first dialog i selected one of the texts that was in dialog to open new dialog , but nothing happened.... please somebody tell me should i edit any script to fix this problem?
The common issue is that the different Dialog IDs get mixed up (interfere)...
and forgot to say i have this problem with all of the dialogs...when i want to enter second dialog nothing happens! i had the same problem with in game text draw maker and vehicles menu
If you are using Zamaroht's TextDraw editor, you need to know that it uses a LOT of dialog ids...
i used to use...when i saw it doesnt work i stopped it and i started using vehicle dialog...
Код:
/*
--------------------------------------------------------------------------------
---------------------[FS]Vehicle Menu by J-Sprunk--------------------------
--------------------------------------------------------------------------------
*/
#include <a_samp>
#include <a_players>
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" ----------Vehicle Menu Init------------");
print(" -------------by J-Sprunk---------------");
print(" -------------------------------------\n");
return 1;
}
#else
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_RED 0xFF3333AA
#endif
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/vmenu", cmdtext, true, 10) == 0)
{
if(IsPlayerInAnyVehicle(playerid))
ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "Choose function", "Repair Vehicle(1000$) \nRepair Vehicle(5000$) \nBurn Vehicle \nFlip \nBuy nitro \nTunning", "Select", "Cancel");
}
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 3)
{
if(response)
{
if(listitem == 0)
{
new vehicleid = GetPlayerVehicleID(playerid);
SetVehicleHealth(vehicleid,1000);
GivePlayerMoney(playerid, -1000);
SendClientMessage(playerid, COLOR_YELLOW, "You gave 1000$ for repairing");
}
}
if(listitem == 1)
{
RepairVehicle(GetPlayerVehicleID(playerid));
GivePlayerMoney(playerid, -5000);
SendClientMessage(playerid, COLOR_YELLOW, "You gave 5000$ for repairing");
}
if(listitem == 2)
{
new vehicleid = GetPlayerVehicleID(playerid);
SetVehicleHealth(vehicleid,0);
GivePlayerMoney(playerid, -2000);
SendClientMessage(playerid, COLOR_YELLOW, "You gave 500$");
}
if(listitem == 3)
{
new vehicleid = (GetPlayerVehicleID(playerid));
new Float:x,Float:y,Float:z,Float:angle;
GetVehiclePos(vehicleid,x,y,z);
GetVehicleZAngle(vehicleid,angle);
SetVehiclePos(vehicleid,x,y,z+1);
SetVehicleZAngle(vehicleid,angle);
GivePlayerMoney(playerid, -350);
SendClientMessage(playerid, COLOR_YELLOW, "You gave 350$");
}
}
if(listitem == 4)
{
new vehicleid = GetPlayerVehicleID(playerid);
AddVehicleComponent(vehicleid,1010);
GivePlayerMoney(playerid, -1000);
SendClientMessage(playerid, COLOR_YELLOW, "You gave 1000$");
}
if(listitem == 5)
{
new vehicleid = GetPlayerVehicleID(playerid);
new cartype = GetVehicleModel(vehicleid);
GivePlayerMoney(playerid, -20000);
SendClientMessage(playerid, COLOR_YELLOW, "You gave 20000$");
if(cartype == 562){
AddVehicleComponent(vehicleid,1146);
AddVehicleComponent(vehicleid,1034);
AddVehicleComponent(vehicleid,1035);
AddVehicleComponent(vehicleid,1036);
AddVehicleComponent(vehicleid,1040);
AddVehicleComponent(vehicleid,1149);
AddVehicleComponent(vehicleid,1171);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1079);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 560){
AddVehicleComponent(vehicleid,1139);
AddVehicleComponent(vehicleid,1026);
AddVehicleComponent(vehicleid,1027);
AddVehicleComponent(vehicleid,1029);
AddVehicleComponent(vehicleid,1032);
AddVehicleComponent(vehicleid,1149);
AddVehicleComponent(vehicleid,1141);
AddVehicleComponent(vehicleid,1169);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1079);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 559){
AddVehicleComponent(vehicleid,1158);
AddVehicleComponent(vehicleid,1162);
AddVehicleComponent(vehicleid,1159);
AddVehicleComponent(vehicleid,1160);
AddVehicleComponent(vehicleid,1069);
AddVehicleComponent(vehicleid,1070);
AddVehicleComponent(vehicleid,1067);
AddVehicleComponent(vehicleid,1065);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1079);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 575){
AddVehicleComponent(vehicleid,1042);
AddVehicleComponent(vehicleid,1044);
AddVehicleComponent(vehicleid,1174);
AddVehicleComponent(vehicleid,1176);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1079);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 558){
AddVehicleComponent(vehicleid,1164);
AddVehicleComponent(vehicleid,1088);
AddVehicleComponent(vehicleid,1092);
AddVehicleComponent(vehicleid,1090);
AddVehicleComponent(vehicleid,1094);
AddVehicleComponent(vehicleid,1166);
AddVehicleComponent(vehicleid,1168);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1079);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 561){
AddVehicleComponent(vehicleid,1058);
AddVehicleComponent(vehicleid,1055);
AddVehicleComponent(vehicleid,1056);
AddVehicleComponent(vehicleid,1062);
AddVehicleComponent(vehicleid,1064);
AddVehicleComponent(vehicleid,1154);
AddVehicleComponent(vehicleid,1155);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1079);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 565){
AddVehicleComponent(vehicleid,1049);
AddVehicleComponent(vehicleid,1046);
AddVehicleComponent(vehicleid,1047);
AddVehicleComponent(vehicleid,1051);
AddVehicleComponent(vehicleid,1054);
AddVehicleComponent(vehicleid,1150);
AddVehicleComponent(vehicleid,1153);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1079);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 576){
AddVehicleComponent(vehicleid,1134);
AddVehicleComponent(vehicleid,1136);
AddVehicleComponent(vehicleid,1137);
AddVehicleComponent(vehicleid,1190);
AddVehicleComponent(vehicleid,1192);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1076);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 534){
AddVehicleComponent(vehicleid,1124);
AddVehicleComponent(vehicleid,1106);
AddVehicleComponent(vehicleid,1126);
AddVehicleComponent(vehicleid,1125);
AddVehicleComponent(vehicleid,1179);
AddVehicleComponent(vehicleid,1180);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 567){
AddVehicleComponent(vehicleid,1133);
AddVehicleComponent(vehicleid,1130);
AddVehicleComponent(vehicleid,1186);
AddVehicleComponent(vehicleid,1188);
AddVehicleComponent(vehicleid,1129);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 535){
AddVehicleComponent(vehicleid,1110);
AddVehicleComponent(vehicleid,1111);
AddVehicleComponent(vehicleid,1113);
AddVehicleComponent(vehicleid,1115);
AddVehicleComponent(vehicleid,1117);
AddVehicleComponent(vehicleid,1118);
AddVehicleComponent(vehicleid,1120);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1079);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 536){
AddVehicleComponent(vehicleid,1182);
AddVehicleComponent(vehicleid,1184);
AddVehicleComponent(vehicleid,1107);
AddVehicleComponent(vehicleid,1108);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 415){
AddVehicleComponent(vehicleid,1023);
AddVehicleComponent(vehicleid,1018);
AddVehicleComponent(vehicleid,1007);
AddVehicleComponent(vehicleid,1017);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 402){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 541){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 602){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 480){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 405){
AddVehicleComponent(vehicleid,1023);
AddVehicleComponent(vehicleid,1018);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 411){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 429){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 439){
AddVehicleComponent(vehicleid,1013);
AddVehicleComponent(vehicleid,1145);
AddVehicleComponent(vehicleid,1023);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 400){
AddVehicleComponent(vehicleid,1024);
AddVehicleComponent(vehicleid,1018);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 445){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 409){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 506){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 470){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 489){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 475){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 477){
AddVehicleComponent(vehicleid,1018);
AddVehicleComponent(vehicleid,1007);
AddVehicleComponent(vehicleid,1017);
AddVehicleComponent(vehicleid,1006);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 479){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 404){
AddVehicleComponent(vehicleid,1023);
AddVehicleComponent(vehicleid,1018);
AddVehicleComponent(vehicleid,1013);
AddVehicleComponent(vehicleid,1007);
AddVehicleComponent(vehicleid,1017);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 410){
AddVehicleComponent(vehicleid,1023);
AddVehicleComponent(vehicleid,1018);
AddVehicleComponent(vehicleid,1024);
AddVehicleComponent(vehicleid,1007);
AddVehicleComponent(vehicleid,1017);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 478){
AddVehicleComponent(vehicleid,1012);
AddVehicleComponent(vehicleid,1013);
AddVehicleComponent(vehicleid,1018);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 414){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 589){
AddVehicleComponent(vehicleid,1023);
AddVehicleComponent(vehicleid,1018);
AddVehicleComponent(vehicleid,1024);
AddVehicleComponent(vehicleid,1007);
AddVehicleComponent(vehicleid,1017);
AddVehicleComponent(vehicleid,1012);
AddVehicleComponent(vehicleid,1145);
AddVehicleComponent(vehicleid,1006);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 413){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 401){
AddVehicleComponent(vehicleid,1023);
AddVehicleComponent(vehicleid,1018);
AddVehicleComponent(vehicleid,1024);
AddVehicleComponent(vehicleid,1007);
AddVehicleComponent(vehicleid,1017);
AddVehicleComponent(vehicleid,1012);
AddVehicleComponent(vehicleid,1145);
AddVehicleComponent(vehicleid,1006);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 406){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 407){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 408){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 412){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 416){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 418){
AddVehicleComponent(vehicleid,1023);
AddVehicleComponent(vehicleid,1018);
AddVehicleComponent(vehicleid,1006);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 419){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 420){
AddVehicleComponent(vehicleid,1012);
AddVehicleComponent(vehicleid,1023);
AddVehicleComponent(vehicleid,1018);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 421){
AddVehicleComponent(vehicleid,1023);
AddVehicleComponent(vehicleid,1018);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 422){
AddVehicleComponent(vehicleid,1013);
AddVehicleComponent(vehicleid,1018);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 423){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 424){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 427){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 426){
AddVehicleComponent(vehicleid,1006);
AddVehicleComponent(vehicleid,1012);
AddVehicleComponent(vehicleid,1023);
AddVehicleComponent(vehicleid,1018);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 428){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 431){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 432){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 433){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 434){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 436){
AddVehicleComponent(vehicleid,1023);
AddVehicleComponent(vehicleid,1018);
AddVehicleComponent(vehicleid,1024);
AddVehicleComponent(vehicleid,1007);
AddVehicleComponent(vehicleid,1017);
AddVehicleComponent(vehicleid,1006);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 437){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 438){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 440){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 442){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 443){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 444){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 451){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 455){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 456){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 457){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 458){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 459){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 466){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 467){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 474){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 482){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 483){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 485){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 486){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 490){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 491){
AddVehicleComponent(vehicleid,1023);
AddVehicleComponent(vehicleid,1018);
AddVehicleComponent(vehicleid,1007);
AddVehicleComponent(vehicleid,1017);
AddVehicleComponent(vehicleid,1145);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 492){
AddVehicleComponent(vehicleid,1012);
AddVehicleComponent(vehicleid,1023);
AddVehicleComponent(vehicleid,1006);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 494){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 495){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 496){
AddVehicleComponent(vehicleid,1023);
AddVehicleComponent(vehicleid,1018);
AddVehicleComponent(vehicleid,1007);
AddVehicleComponent(vehicleid,1017);
AddVehicleComponent(vehicleid,1012);
AddVehicleComponent(vehicleid,1145);
AddVehicleComponent(vehicleid,1006);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 498){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 499){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 500){
AddVehicleComponent(vehicleid,1013);
AddVehicleComponent(vehicleid,1018);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 502){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 503){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 504){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 505){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 507){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 508){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 514){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 515){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 516){
AddVehicleComponent(vehicleid,1023);
AddVehicleComponent(vehicleid,1018);
AddVehicleComponent(vehicleid,1007);
AddVehicleComponent(vehicleid,1017);
AddVehicleComponent(vehicleid,1012);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 517){
AddVehicleComponent(vehicleid,1023);
AddVehicleComponent(vehicleid,1018);
AddVehicleComponent(vehicleid,1007);
AddVehicleComponent(vehicleid,1017);
AddVehicleComponent(vehicleid,1145);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 518){
AddVehicleComponent(vehicleid,1006);
AddVehicleComponent(vehicleid,1012);
AddVehicleComponent(vehicleid,1013);
AddVehicleComponent(vehicleid,1018);
AddVehicleComponent(vehicleid,1007);
AddVehicleComponent(vehicleid,1017);
AddVehicleComponent(vehicleid,1145);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 525){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 526){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 527){
AddVehicleComponent(vehicleid,1023);
AddVehicleComponent(vehicleid,1018);
AddVehicleComponent(vehicleid,1007);
AddVehicleComponent(vehicleid,1017);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 528){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 529){
AddVehicleComponent(vehicleid,1023);
AddVehicleComponent(vehicleid,1006);
AddVehicleComponent(vehicleid,1012);
AddVehicleComponent(vehicleid,1018);
AddVehicleComponent(vehicleid,1007);
AddVehicleComponent(vehicleid,1017);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 530){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 531){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 532){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 533){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 539){
AddVehicleComponent(vehicleid,1010);
}
if(cartype == 540){
AddVehicleComponent(vehicleid,1023);
AddVehicleComponent(vehicleid,1018);
AddVehicleComponent(vehicleid,1024);
AddVehicleComponent(vehicleid,1007);
AddVehicleComponent(vehicleid,1017);
AddVehicleComponent(vehicleid,1012);
AddVehicleComponent(vehicleid,1145);
AddVehicleComponent(vehicleid,1006);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 542){
AddVehicleComponent(vehicleid,1145);
AddVehicleComponent(vehicleid,1023);
AddVehicleComponent(vehicleid,1018);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 543){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 544){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 545){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 546){
AddVehicleComponent(vehicleid,1023);
AddVehicleComponent(vehicleid,1018);
AddVehicleComponent(vehicleid,1024);
AddVehicleComponent(vehicleid,1007);
AddVehicleComponent(vehicleid,1017);
AddVehicleComponent(vehicleid,1012);
AddVehicleComponent(vehicleid,1145);
AddVehicleComponent(vehicleid,1006);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 547){
AddVehicleComponent(vehicleid,1145);
AddVehicleComponent(vehicleid,1023);
AddVehicleComponent(vehicleid,1018);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 549){
AddVehicleComponent(vehicleid,1023);
AddVehicleComponent(vehicleid,1018);
AddVehicleComponent(vehicleid,1007);
AddVehicleComponent(vehicleid,1017);
AddVehicleComponent(vehicleid,1012);
AddVehicleComponent(vehicleid,1145);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 550){
AddVehicleComponent(vehicleid,1006);
AddVehicleComponent(vehicleid,1023);
AddVehicleComponent(vehicleid,1018);
AddVehicleComponent(vehicleid,1012);
AddVehicleComponent(vehicleid,1145);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 551){
AddVehicleComponent(vehicleid,1006);
AddVehicleComponent(vehicleid,1012);
AddVehicleComponent(vehicleid,1023);
AddVehicleComponent(vehicleid,1018);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 552){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 554){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 555){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 556){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 557){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 566){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 568){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 571){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 572){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 573){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 574){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 579){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 580){
AddVehicleComponent(vehicleid,1023);
AddVehicleComponent(vehicleid,1018);
AddVehicleComponent(vehicleid,1007);
AddVehicleComponent(vehicleid,1017);
AddVehicleComponent(vehicleid,1006);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 582){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 583){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 587){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 585){
AddVehicleComponent(vehicleid,1024);
AddVehicleComponent(vehicleid,1145);
AddVehicleComponent(vehicleid,1023);
AddVehicleComponent(vehicleid,1018);
AddVehicleComponent(vehicleid,1007);
AddVehicleComponent(vehicleid,1017);
AddVehicleComponent(vehicleid,1006);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 588){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 596){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 597){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 598){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 599){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 600){
AddVehicleComponent(vehicleid,1024);
AddVehicleComponent(vehicleid,1012);
AddVehicleComponent(vehicleid,1018);
AddVehicleComponent(vehicleid,1007);
AddVehicleComponent(vehicleid,1017);
AddVehicleComponent(vehicleid,1006);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 601){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 603){
AddVehicleComponent(vehicleid,1145);
AddVehicleComponent(vehicleid,1023);
AddVehicleComponent(vehicleid,1024);
AddVehicleComponent(vehicleid,1018);
AddVehicleComponent(vehicleid,1007);
AddVehicleComponent(vehicleid,1017);
AddVehicleComponent(vehicleid,1006);
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
if(cartype == 609){
AddVehicleComponent(vehicleid,1010);
AddVehicleComponent(vehicleid,1087);
}
}
}
like what i said i have the same problem for all dialogs...
I don't see any return there.