27.02.2015, 01:44
Hey! hello guys, i have a problem with my second fuction; the textdrawn never hide, and toggleplayercontrollable doesnґt switch. (fuction "TerminoCargarObjetos" never work.)
what's my error?
PHP код:
public CargarObjetos(playerid);
CargarObjetos(playerid)
{
TogglePlayerControllable(playerid, 0);
TextDrawShowForPlayer(playerid, CARGAOBJ0);
TextDrawShowForPlayer(playerid, CARGAOBJ1);
SetTimer("TerminoCargarObjetos", 3500, false);
return 1;
}
public TerminoCargarObjetos(playerid);
TerminoCargarObjetos(playerid)
{
TogglePlayerControllable(playerid, 1);
TextDrawHideForPlayer(playerid, CARGAOBJ0);
TextDrawHideForPlayer(playerid, CARGAOBJ1);
return 1;
}