23.12.2017, 17:51
Код:
if(clickedid == TelaRegistro[5]) { format(gstring, sizeof(gstring), "%s", PROBLEMA AQUI); TextDrawSetString(TelaRegistro[5], gstring); }
if(clickedid == TelaRegistro[5]) { format(gstring, sizeof(gstring), "%s", PROBLEMA AQUI); TextDrawSetString(TelaRegistro[5], gstring); }
for(new i=0; i < strlen(string); i++) { string[ i ] = ']'; }
public OnPlayerClickTextDraw(playerid, Text:clickedid) { if(clickedid == TelaDeLogin[9]) { TextDrawHideForPlayer(playerid, TelaDeLogin[9]); TextDrawHideForPlayer(playerid, TelaDeLogin[10]); TextDrawHideForPlayer(playerid, TelaDeLogin[11]); TextDrawHideForPlayer(playerid, TelaDeLogin[12]); TextDrawHideForPlayer(playerid, TelaDeLogin[13]); TextDrawHideForPlayer(playerid, TelaDeLogin[14]); TextDrawHideForPlayer(playerid, TelaDeLogin[15]); TextDrawHideForPlayer(playerid, TelaDeLogin[16]); TextDrawHideForPlayer(playerid, TelaDeLogin[17]); TextDrawHideForPlayer(playerid, TelaDeLogin[18]); TextDrawHideForPlayer(playerid, TelaDeLogin[19]); TextDrawHideForPlayer(playerid, TelaDeLogin[20]); TextDrawHideForPlayer(playerid, TelaDeLogin[21]); TextDrawHideForPlayer(playerid, TelaDeLogin[22]); TextDrawHideForPlayer(playerid, TelaDeLogin[23]); showRegistro(playerid); } if(clickedid == TelaRegistro[5]) { format(gstring, sizeof(gstring), "%s", > Problema <); TextDrawSetString(TelaRegistro[5], gstring); } return 1; }
format(output[], len, const format[], ...) |
format(gstring, sizeof(gstring), "%s", ....);
new mstr[9] ="12345678";
for(new i=0; i < strlen(mstr); i++)
{
mstr[ i ] = ']';
}
format(gstring, sizeof(gstring), "%s", mstr);