08.03.2014, 17:19
eu coloquei ele dessa forma mas ta dando warnning de tag mist
Code:
if(strcmp(cmdtext, "/titulo", true)==0) { if(TextoPlayer[playerid] == 1) { MeuText[playerid] = Create3DTextLabel("PCC", COR_VAGOS, 30.0, 40.0, 50.0, 100.0, 0); Attach3DTextLabelToPlayer(MeuText[playerid], playerid, 0.0, 0.0, 0.3); TextoPlayer[playerid]++; return 1; } else if(TextoPlayer[playerid] == 2) { Delete3DTextLabel(MeuText[playerid]); MeuText[playerid] = Create3DTextLabel("Los Vagos", COR_VAGOS, 30.0, 40.0, 50.0, 100.0, 0); Attach3DTextLabelToPlayer(MeuText[playerid], playerid, 0.0, 0.0, 0.3); TextoPlayer[playerid]++; return 1; } else if(TextoPlayer[playerid] == 3) { Delete3DTextLabel(MeuText[playerid]); MeuText[playerid] = Create3DTextLabel("Los Aztecas", COR_VAGOS, 30.0, 40.0, 50.0, 100.0, 0); Attach3DTextLabelToPlayer(MeuText[playerid], playerid, 0.0, 0.0, 0.3); TextoPlayer[playerid] = 0;//Quando chegar aqui, a proxima vez q usar o cmd ele volta pro Primeiro Texto return 1; } }