09.03.2012, 21:20
meu portao ele abre e nгo fecha como posso fazer ele fechar aqui o comando
Quote:
if(strcmp(cmd, "/portaoteste", true) == 0 || strcmp(cmd, "/pteste", true) == 0) { if ((IsATeste(playerid)) && PlayerToPoint(15.0, playerid, 2184.7998046875,-1766.599609375,15.10000038147)) { //PortaoAdmin MoveObject( PortaoTeste, 2185.1999511719,-1765.9000244141,20.10000038147,3,0.0,0.0,0.0); GameTextForPlayer(playerid, "~w~Portao ~y~Teste ~n~~b~Aberto", 5000, 3); SetTimer("PortaoTeste2", 5000, false); } return true; } |