16.05.2015, 16:42
No do like this :
Код HTML:
public OnPlayerClickTextDraw(playerid, Text:clickedid) { if(clickedid == Wheels[3]) { SetPlayerSkin(playerid, 0); } else if(clickedid == Wheels[4]) { SetPlayerSkin(playerid, 0); } else if(clickedid == Wheels[5]) { SetPlayerSkin(playerid, 0); } else if(clickedid == Wheels[6]) { SetPlayerSkin(playerid, 0); } else if(clickedid == Wheels[7]) { SetPlayerSkin(playerid, 0); } else if(clickedid == Wheels[8]) { SetPlayerSkin(playerid, 0); } else if(clickedid == Wheels[9]) { SetPlayerSkin(playerid, 0); } else if(clickedid == Wheels[10]) { SetPlayerSkin(playerid, 0); } else if(clickedid == Wheels[11]) { SetPlayerSkin(playerid, 0); } else if(clickedid == Wheels[12]) { SetPlayerSkin(playerid, 0); } else if(clickedid == Wheels[13]) { SetPlayerSkin(playerid, 0); } else if(clickedid == Wheels[14]) { SetPlayerSkin(playerid, 0); } else if(clickedid == Wheels[15]) { SetPlayerSkin(playerid, 0); } else if(clickedid == Wheels[17]) { SendClientMessage(playerid, 0xFFFFFFFF, "You have chosen to Close the Wheels Menu."); } return 1; }