05.12.2014, 13:58
hola tengo un menu que me dice los comandos de trabajo
pero nose que tiene mal
espero que me puedan ayudar
Код:
} if(clickedid == CircularMenu[22]) //Trabajo { P_circularmenu_active[playerid] = 2; loop(0, 12, a) TextDrawHideForPlayer(playerid, CircularMenu[a]); TextDrawShowForPlayer(playerid, UserBox[0]); TextDrawShowForPlayer(playerid, UserBox[1]); TextDrawShowForPlayer(playerid, UserBox[2]); TextDrawShowForPlayer(playerid, UserBox[3]); PlayerTextDrawSetString(playerid, PlayerUserBox[playerid][0], "Trabajo"); PlayerTextDrawShow(playerid, PlayerUserBox[playerid][0]); PlayerTextDrawShow(playerid, PlayerUserBox[playerid][1]); new str[150]; wJob[playerid] = 1; format(str, 150, "Trabajo: %s~n~Comandos: %s~n~Nivel: Proximante~n~Carga: /40~n~", NamesJobs[wJob[playerid]], CommandJobs[wJob[playerid]]); PlayerTextDrawSetString(playerid, PlayerUserBox[playerid][1], simbolos(str)); } new str[150]; wJob[playerid] = 0; format(str, 150, "Trabajo: no tienes", NamesJobs[wJob[playerid]], CommandJobs[wJob[playerid]]); PlayerTextDrawSetString(playerid, PlayerUserBox[playerid][1], simbolos(str)); { { return 1; }
espero que me puedan ayudar