Ich hab die Screens vom Problem im Expander:
(DIe Maus wurde n icht mit aufgenommen, also hab ich mal versucht ihre ungefaehre position einzuzeichnen.)
Hier der Code:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == DIALOG_FBI_SKIN_CHANGE)
{
if(response == 1)
{
//Textdraw 1
usebox_fbi_skin = TextDrawCreate(417.500000, 349.166687, "usebox");
TextDrawLetterSize(usebox_fbi_skin, 0.000000, 4.816664);
TextDrawTextSize(usebox_fbi_skin, 240.000000, 0.000000);
TextDrawAlignment(usebox_fbi_skin, 1);
TextDrawColor(usebox_fbi_skin, 0);
TextDrawUseBox(usebox_fbi_skin, true);
TextDrawBoxColor(usebox_fbi_skin, 255);
TextDrawSetShadow(usebox_fbi_skin, 0);
TextDrawSetOutline(usebox_fbi_skin, 0);
TextDrawBackgroundColor(usebox_fbi_skin, -2139062017);
TextDrawFont(usebox_fbi_skin, 0);
//Textdraw 2
rechts_fbi_skin = TextDrawCreate(310.000000, 364.933441, ">>");
TextDrawLetterSize(rechts_fbi_skin, 0.449999, 1.600000);
TextDrawAlignment(rechts_fbi_skin, 1);
TextDrawColor(rechts_fbi_skin, -1);
TextDrawSetShadow(rechts_fbi_skin, 0);
TextDrawSetOutline(rechts_fbi_skin, 1);
TextDrawBackgroundColor(rechts_fbi_skin, 51);
TextDrawFont(rechts_fbi_skin, 1);
TextDrawSetProportional(rechts_fbi_skin, 1);
//Textdraw 3
links_fbi_skin = TextDrawCreate(260.000000, 363.999877, "<<");
TextDrawLetterSize(links_fbi_skin, 0.449999, 1.600000);
TextDrawAlignment(links_fbi_skin, 1);
TextDrawColor(links_fbi_skin, -1);
TextDrawSetShadow(links_fbi_skin, 0);
TextDrawSetOutline(links_fbi_skin, -1);
TextDrawBackgroundColor(links_fbi_skin, 51);
TextDrawFont(links_fbi_skin, 1);
TextDrawSetProportional(links_fbi_skin, 1);
//Textdraw 4
set_fbi_skin = TextDrawCreate(353.000000, 364.466705, "SET");
TextDrawLetterSize(set_fbi_skin, 0.449999, 1.600000);
TextDrawAlignment(set_fbi_skin, 1);
TextDrawColor(set_fbi_skin, -1);
TextDrawSetShadow(set_fbi_skin, 0);
TextDrawSetOutline(set_fbi_skin, -1);
TextDrawBackgroundColor(set_fbi_skin, 51);
TextDrawFont(set_fbi_skin, 1);
TextDrawSetProportional(set_fbi_skin, 1);
TogglePlayerControllable(playerid,0);
SetPlayerPos(playerid,967.1509,1683.9474,8.8516);
SetPlayerFacingAngle(playerid,270.0);
SetPlayerCameraPos(playerid,973.1503,1684.1062,9.6484);
SetPlayerCameraLookAt(playerid,967.1509,1683.9474,8.8516);
SetPlayerSkin(playerid,8);
TextDrawShowForPlayer(playerid,usebox_fbi_skin);
TextDrawShowForPlayer(playerid,rechts_fbi_skin);
TextDrawShowForPlayer(playerid,links_fbi_skin);
TextDrawShowForPlayer(playerid,set_fbi_skin);
TextDrawSetSelectable(usebox_fbi_skin,false);
TextDrawSetSelectable(rechts_fbi_skin,true);
TextDrawSetSelectable(links_fbi_skin,true);
TextDrawSetSelectable(set_fbi_skin,true);
SelectTextDraw(playerid,0x00FF00FF);
}
else{SendClientMessage(playerid,weiss,"Du hast dir keine Tarnung angezogen.");}
}
return 1;
}
E\: Ist wohl niemand da ist der genug von Pawn versteht um mir zu helfen.