Hallo,
ich habe ein Problem undzwar...
Wenn ich "Cop" auswähle spawn er beim bauernhof das selbe ist auch bei "Robber"
if(clickedid == CopsSkin)
{
SetPlayerPos(playerid,1526.3693,-1677.5197,5.8906);
SetPlayerSkin(playerid,283);
SetCameraBehindPlayer(playerid);
SendClientMessage(playerid,blau,"Du bist nun Cop! Benutze /help um alle Befehle zu sehen");
GivePlayerWeapon(playerid,24,1111111);
GivePlayerWeapon(playerid,29,1111111);
GivePlayerWeapon(playerid,25,1111111);
CancelSelectTextDraw(playerid);
TextDrawHideForPlayer(playerid,CopsSkin);
TextDrawHideForPlayer(playerid,RobberSkin);
TextDrawHideForPlayer(playerid,AuswahlBox);
TextDrawHideForPlayer(playerid,CopsText);
TextDrawHideForPlayer(playerid,RobbersText);
TextDrawHideForPlayer(playerid,oderText);
SpawnPlayer(playerid);
}
if(clickedid == RobberSkin)
{
SetPlayerPos(playerid,1115.9500,-1778.5627,13.5895);
SetCameraBehindPlayer(playerid);
SetPlayerSkin(playerid,105);
SendClientMessage(playerid,gelb,"Du bist nun Robber! Benutze /help um alle Befehle zu sehen");
GivePlayerWeapon(playerid,24,1111111);
GivePlayerWeapon(playerid,2,1);
GivePlayerWeapon(playerid,28,1111111);
TextDrawHideForPlayer(playerid,CopsSkin);
TextDrawHideForPlayer(playerid,RobberSkin);
TextDrawHideForPlayer(playerid,AuswahlBox);
TextDrawHideForPlayer(playerid,CopsText);
TextDrawHideForPlayer(playerid,RobbersText);
TextDrawHideForPlayer(playerid,oderText);
CancelSelectTextDraw(playerid);
SpawnPlayer(playerid);
}