22.03.2009, 22:18
It has something to do the way i set it up?? can some1 tell me whats wrong with the codes i used??
Код:
public ShowMenuMafia() { MafiaMenu1 = CreateMenu("Mafia Teleports", 2, 125, 150, 300); AddMenuItem(MafiaMenu1, 0, "Roof"); AddMenuItem(MafiaMenu1, 1, "Hq Roof"); AddMenuItem(MafiaMenu1, 0, "Graveyard"); AddMenuItem(MafiaMenu1, 1, "Hq Graveyard"); }
Код:
if(Current == Mafia) { switch(row) { case 0: { SetPlayerPos(playerid,2129.7820,-2280.5945,27.3034); SendClientMessage(playerid, COLOR_LIGHTRED, "Welcome To LFS's Hq Roof"); } case 1: { SetPlayerPos(playerid,816.0439,-1100.3785,25.7906); SendClientMessage(playerid, COLOR_LIGHTRED, "Welcome To LFS's Hq Cemetary"); } } }