08.10.2011, 09:45
(
Последний раз редактировалось Serifukas; 08.10.2011 в 11:29.
)
Hello Everybody.
I Have Problem With Car Bought System.
I Make Car System And When Entering Buy able car for you must show animation :
When you enter vehicle for you must show Dialog :
ShowPlayerDialog(playerid,1154, DIALOG_STYLE_MSGBOX,"{93E20B}CAR SHOP:",msg, "YES","NO");
With my code you must press enter to enter vehicle : when you enter vehicle car bought automatic because dialog
press yes...
I don't know what do... :S
Help my if someone can.
My Buy Code :
I Have Problem With Car Bought System.
I Make Car System And When Entering Buy able car for you must show animation :
Код:
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_ENTER_VEHICLE);
ShowPlayerDialog(playerid,1154, DIALOG_STYLE_MSGBOX,"{93E20B}CAR SHOP:",msg, "YES","NO");
With my code you must press enter to enter vehicle : when you enter vehicle car bought automatic because dialog
press yes...
I don't know what do... :S
Help my if someone can.
My Buy Code :
Код:
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_ENTER_VEHICLE); new msg[300]; format(msg,sizeof(msg),"{FFFFFF}NAME: %s.\nPRICE- {6EF83C}%i$.\n{FFFFFF}GAS: {6EF83C}%iL.\n{FFFFFF} {6EF83C}%iL/100km.\n You want buy this car?",aVehicleNames[model-400],kaina,aBakai[model-400],aEda[model-400]); PutPlayerInVehicle(playerid,vehicleid,0); TogglePlayerControllable(playerid,0); ShowPlayerDialog(playerid,1154, DIALOG_STYLE_MSGBOX,"{93E20B}CAR SHOP:",msg, "YES","NO");