Filterscript aint working
#1

Filterscript Make all other commands not work Whats wrong


PHP код:
// Area 51 lift System, Made by Tom.1412
// Don't remove credits
// If you want more Doors/Gates made, Message me on samp.
#include <a_samp>
#define FILTERSCRIPT
#define Error_Color 0xAA3333AA
#define Message_Close_Color 0x33AA33AA
#define Close_Message " Welcome Home Wizzard! (Gates Created By Kepa) "
#if defined FILTERSCRIPT
#endif
new Gate1a;
forward CloseGate1AtoD(playerid);
forward CloseGate2AnB(playerid);
public 
OnFilterScriptInit()
{
    print(
"\n--------------------------------------");
    print(
" wizarddoor");
    print(
"--------------------------------------\n");
    
Gate1a CreateObject(971,321.10000610,-1188.59997559,76.30000305,0.00000000,0.00000000,38.00000000);
    return 
1;
}
public 
CloseGate1AtoD(playerid)
{
    
MoveObject(Gate1a138.0488281251946.974609375181);
    
SendClientMessage(playeridMessage_Close_ColorClose_Message);
    return 
1;
}
public 
OnPlayerCommandText(playeridcmdtext[])
{
    if(!
strcmp(cmdtext"/wizdoor"true))
    {
        if(
IsPlayerInRangeOfPoint(playerid10.0321.10000610, -1188.5999755976.30000305))
         {
            
MoveObject(Gate1a321.10000610, -1188.5999755976.300003051);
            
SetTimer("CloseGate1AtoD"10000false);
        }
        else 
SendClientMessage(playeridError_Color" You Are Not Near Wiz House.");
    }
     return 
1;

Reply


Messages In This Thread
Filterscript aint working - by miley1 - 18.05.2012, 12:27
Re: Filterscript aint working - by emokidx - 18.05.2012, 12:28
Re: Filterscript aint working - by miley1 - 18.05.2012, 12:29
Re: Filterscript aint working - by milanosie - 18.05.2012, 12:31
Re: Filterscript aint working - by Flake. - 18.05.2012, 12:31
Re: Filterscript aint working - by [KHK]Khalid - 18.05.2012, 12:38

Forum Jump:


Users browsing this thread: 1 Guest(s)