23.02.2014, 14:25
Hey everyone, today i tried to make a loop to hide a textdraw, but it goes after a check for a variable, the thing is that it starts the "CustomizePlayer" function but it doesn't hide the textdraw. I know it will be an easy fix, but idk why I just can't see it.
Help!
Код:
public OnPlayerSpawn(playerid) { StopAudioStreamForPlayer(playerid); if(pInfo[playerid][isCustomized] == false) { StartPlayerCustomization(playerid); } else if(pInfo[playerid][isCustomized]) { //SetPlayerPos(playerid, Shelter_Spawn); SendClientMessage(playerid, -1, "Modificado"); return 1; } for(new j; j < MAX_HOME_TDS; j++) PlayerTextDrawHide(playerid, homescr[j][playerid]);//This doesn't load! return 1; }