[Ajuda] Portгo
#3

PHP код:
//===================No Topo ( Nas News) ===================
new PortaoAz;
///====================No topo nas Forwards========================
forward AzAndando();
//==============================Na On GameModeInit
PortaoAz CreateObject(980,1001.79998779,-2112.89990234,14.89999962,0.00000000,0.00000000,0.00000000);//Muda pelas cordenada do portao fechado
//==============================Na public Command Text La talz========================
if(strcmp(cmd"/portaoaz"true) == 0)
    {
    if (
PlayerToPoint(15.0playerid1001.6422,-2107.3374,13.0859)) { //Lugar que o Player Tem que ta pro portao abri
    
MoveObjectPortaoAz988.6989,-2111.7212,13.0938,3);//Lugar pra onde o portao vai i (Aberto)
    
SetTimer("AzAndando"5000false);}
    }
//==================================== FIM DO GM ====================================
public AzAndando()
{
    
MoveObject(PortaoAz,1001.79998779,-2112.89990234,14.899999622);//Cordenada x,y,z do portao fechado.
    
return 1;
    }


Й Issoagora muda o nome do "PortaoAz" para o nome do seu Portao ;) 
Espero Ter Ajudado
Reply


Messages In This Thread
[Ajuda] Portгo - by DemonChris - 20.04.2012, 03:43
Respuesta: [Ajuda] Portгo - by ErickOwnZ - 20.04.2012, 04:32
Respuesta: [Ajuda] Portгo - by leosivi - 20.04.2012, 11:29
Re: [Ajuda] Portгo - by xPaulistaa - 20.04.2012, 16:36
Re: [Ajuda] Portгo - by Don_Speed - 20.04.2012, 17:12

Forum Jump:


Users browsing this thread: 1 Guest(s)