06.05.2011, 14:40
(
Последний раз редактировалось Renks554; 06.05.2011 в 14:42.
Причина: I Want
)
I created dialog about tuning car's . but i got 4 errors. What's wrong with the script ?
I Have Case 3 because i have other's cases too , ....
Quote:
Under OnDialogResponse:
case 3: { switch(listitem) { case 0: { new VehicleID; VehicleID = GetPlayerVehicleID(playerid); SendClientMessage(playerid, 0x33AA33AA, "Auto tuunitud!"); AddVehicleComponent(VehicleID, 1087); //hidraulic return 1; } } case 1: { new VehicleID; VehicleID = GetPlayerVehicleID(playerid); SendClientMessage(playerid, 0x33AA33AA, "Auto tuunitud!"); AddVehicleComponent(VehicleID, 107; // wheels return 1; } } case 2: { new VehicleID; VehicleID = GetPlayerVehicleID(playerid); SendClientMessage(playerid, 0x33AA33AA, "Auto tuunitud!"); AddVehicleComponent(VehicleID, 1010); //nos 10x return 1; } } case 3: { new VehicleID; VehicleID = GetPlayerVehicleID(playerid); SendClientMessage(playerid, 0x33AA33AA, "Auto tuunitud!"); AddVehicleComponent(VehicleID, 101; //exaust return 1; } } return 1; } |