07.11.2011, 21:42
I have a dialogue in his key example for the NRG 522, 411 for Infernus, 560 for the Sultan, etc.
After you type id and press Buy it needs to create a car with my id typed, but does not work. Do you have ideas how to do? Below is the script of the dialogues.
After you type id and press Buy it needs to create a car with my id typed, but does not work. Do you have ideas how to do? Below is the script of the dialogues.
pawn Код:
if(!strcmp(npcname, "Dealership", true))
{
ShowPlayerDialog(playerid, 12, DIALOG_STYLE_INPUT, "Dealership", "ID Car:", "Ok", "Close");
PlayerPlaySound(playerid, 1150, 0.0, 0.0, 0.0);
return 1;
}
pawn Код:
if(dialogid == 12)
{
if(response)
{
new model;
CreateVehicle(model,2783.9478,-2494.4778,13.6550,85.6610,0,0, 36000);
SendClientMessage(playerid, COLOR_GREY, "Done!");
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Cancel.");
}
}