09.10.2015, 16:52
How can I make myself so dialogue ds:http://imgur.com/oSPk6L4
He sees me like this:
http://imgur.com/nNJ7QWz
He sees me like this:
http://imgur.com/nNJ7QWz
Код HTML:
else if(UsingDealership[playerid] == 4) { VehPosition[playerid] ++; if(VehPosition[playerid] == 1) { SetVehicleModel3(boatdealership, 446); //PutPlayerInVehicle(playerid, turismodealer, 0); SetPlayerPos(playerid, 549.7937,-2482.4553,3.6960); PutPlayerInVehicle(playerid, boatdealership, 0); SetPlayerCameraPos(playerid, 549.7937,-2482.4553,3.6960); SetPlayerCameraLookAt(playerid, 548.2234,-2495.8640,0.5508); SetPlayerInterior(playerid, 0); TogglePlayerControllable(playerid, 0); format(string, sizeof(string), "{F6F6F6}Vizualizezi un {00BC00}Squalo{F6F6F6} la pretul de {00BC00}$1.100.000{F6F6F6}\nMai sunt %d modele disponibile de acest tip.\nDaca vrei sa alegi alt vehicul, apasa '>>'.\nDaca vrei sa iesi, apasa 'Iesi'", vehSlots[GetVehicleModel(GetPlayerVehicleID(playerid))]); ShowPlayerDialog(playerid,2,DIALOG_STYLE_MSGBOX,"Dealership",string,"Iesi",">>"); } if(VehPosition[playerid] == 2) { SetVehicleModel3(boatdealership, 452); //PutPlayerInVehicle(playerid, turismodealer, 0); SetPlayerPos(playerid, 549.7937,-2482.4553,3.6960); PutPlayerInVehicle(playerid, boatdealership, 0); SetPlayerCameraPos(playerid, 549.7937,-2482.4553,3.6960); SetPlayerCameraLookAt(playerid, 548.2234,-2495.8640,0.5508); SetPlayerInterior(playerid, 0); TogglePlayerControllable(playerid, 0); format(string, sizeof(string), "{F6F6F6}Vizualizezi un {00BC00}Speeder{F6F6F6} la pretul de {00BC00}$950.000{F6F6F6}\nMai sunt %d modele disponibile de acest tip.\nDaca vrei sa alegi alt vehicul, apasa '>>'.\nDaca vrei sa iesi, apasa 'Iesi'", vehSlots[GetVehicleModel(GetPlayerVehicleID(playerid))]); ShowPlayerDialog(playerid,2,DIALOG_STYLE_MSGBOX,"Dealership",string,"Iesi",">>"); } if(VehPosition[playerid] == 3) { SetVehicleModel3(boatdealership, 454); //PutPlayerInVehicle(playerid, turismodealer, 0); SetPlayerPos(playerid, 549.7937,-2482.4553,3.6960); PutPlayerInVehicle(playerid, boatdealership, 0); SetPlayerCameraPos(playerid, 549.7937,-2482.4553,3.6960); SetPlayerCameraLookAt(playerid, 548.2234,-2495.8640,0.5508); SetPlayerInterior(playerid, 0); TogglePlayerControllable(playerid, 0); format(string, sizeof(string), "{F6F6F6}Vizualizezi un {00BC00}Tropic{F6F6F6} la pretul de {00BC00}$850.000{F6F6F6}\nMai sunt %d modele disponibile de acest tip.\nDaca vrei sa alegi alt vehicul, apasa '>>'.\nDaca vrei sa iesi, apasa 'Iesi'", vehSlots[GetVehicleModel(GetPlayerVehicleID(playerid))]); ShowPlayerDialog(playerid,2,DIALOG_STYLE_MSGBOX,"Dealership",string,"Iesi",">>"); } if(VehPosition[playerid] == 4) { SetVehicleModel3(boatdealership, 473); //PutPlayerInVehicle(playerid, turismodealer, 0); SetPlayerPos(playerid, 549.7937,-2482.4553,3.6960); PutPlayerInVehicle(playerid, boatdealership, 0); SetPlayerCameraPos(playerid, 549.7937,-2482.4553,3.6960); SetPlayerCameraLookAt(playerid, 548.2234,-2495.8640,0.5508); SetPlayerInterior(playerid, 0); TogglePlayerControllable(playerid, 0); format(string, sizeof(string), "{F6F6F6}Vizualizezi un {00BC00}Dinghy{F6F6F6} la pretul de {00BC00}$450.000{F6F6F6}\nMai sunt %d modele disponibile de acest tip.\nDaca vrei sa alegi alt vehicul, apasa '>>'.\nDaca vrei sa iesi, apasa 'Iesi'", vehSlots[GetVehicleModel(GetPlayerVehicleID(playerid))]); ShowPlayerDialog(playerid,2,DIALOG_STYLE_MSGBOX,"Dealership",string,"Iesi",">>"); } if(VehPosition[playerid] == 5) { SetVehicleModel3(boatdealership, 493); //PutPlayerInVehicle(playerid, turismodealer, 0); SetPlayerPos(playerid, 549.7937,-2482.4553,3.6960); PutPlayerInVehicle(playerid, boatdealership, 0); SetPlayerCameraPos(playerid, 549.7937,-2482.4553,3.6960); SetPlayerCameraLookAt(playerid, 548.2234,-2495.8640,0.5508); SetPlayerInterior(playerid, 0); TogglePlayerControllable(playerid, 0); format(string, sizeof(string), "{F6F6F6}Vizualizezi un {00BC00}Jetmax{F6F6F6} la pretul de {00BC00}$900.000{F6F6F6}\nMai sunt %d modele disponibile de acest tip.\nDaca vrei sa alegi alt vehicul, apasa '>>'.\nDaca vrei sa iesi, apasa 'Iesi'", vehSlots[GetVehicleModel(GetPlayerVehicleID(playerid))]); ShowPlayerDialog(playerid,2,DIALOG_STYLE_MSGBOX,"Dealership",string,"Iesi",">>"); } if(VehPosition[playerid] == 6) { VehPosition[playerid] = 1; SetVehicleModel3(boatdealership, 446); //PutPlayerInVehicle(playerid, turismodealer, 0); SetPlayerPos(playerid, 549.7937,-2482.4553,3.6960); PutPlayerInVehicle(playerid, boatdealership, 0); SetPlayerCameraPos(playerid, 549.7937,-2482.4553,3.6960); SetPlayerCameraLookAt(playerid, 548.2234,-2495.8640,0.5508); SetPlayerInterior(playerid, 0); TogglePlayerControllable(playerid, 0); format(string, sizeof(string), "{F6F6F6}Vizualizezi un {00BC00}Squalo{F6F6F6} la pretul de {00BC00}$1.100.000{F6F6F6}\nMai sunt %d modele disponibile de acest tip.\nDaca vrei sa alegi alt vehicul, apasa '>>'.\nDaca vrei sa iesi, apasa 'Iesi'", vehSlots[GetVehicleModel(GetPlayerVehicleID(playerid))]); ShowPlayerDialog(playerid,2,DIALOG_STYLE_MSGBOX,"Dealership",string,"Iesi",">>"); } }