Moving a gate help!!
#1

I have do 5 gate help but all the stuff people said didnt work so here i am again need help

PHP код:
#include <a_samp> 
#define FILTERSCRIPT 
new gate1
public 
OnFilterScriptInit() 
{  
    
gate1 CreateObject(9692231.45703, -2212.4411612.531810.000000.00000, -45.00000); //Gate1
    
return 1

public 
OnPlayerCommandText(playeridcmdtext[]) 

    if(!
strcmp(cmdtext"/open"true)) 
    { 
        if(
IsPlayerInRangeOfPoint(playerid15.02231.4570, -2212.44129.3241)) 
        { 
            
MoveObject(gate12231.4570, -2212.44129.32415); 
            
SendClientMessage(playerid0x0000BBAA"the Gate Opened Successfuly , Weclome !"); 
            return 
1
        } 
    } 
    if(!
strcmp(cmdtext"/close"true)) 
    { 
        if(
IsPlayerInRangeOfPoint(playerid15.02231.45703, -2212.4411612.53181)) 
        { 
            
MoveObject(gate12231.45703, -2212.4411612.531815); 
            
SendClientMessage(playerid0xAA3333AA"the Gate Closed successfuly !"); 
            return 
1
        } 
    } 
      return 
0

Reply


Messages In This Thread
Moving a gate help!! - by LavaHDProkiller - 22.02.2013, 16:16
Re: Moving a gate help!! - by SilverKiller - 22.02.2013, 16:19
Re: Moving a gate help!! - by LavaHDProkiller - 22.02.2013, 17:47
Re: Moving a gate help!! - by Goldino - 22.02.2013, 17:48
Re: Moving a gate help!! - by Brokenbreaken - 22.02.2013, 18:09
Re: Moving a gate help!! - by LavaHDProkiller - 23.02.2013, 09:40
Re : Moving a gate help!! - by yusei - 23.02.2013, 09:51
Re: Moving a gate help!! - by [FSaF]Jarno - 23.02.2013, 09:52
Re: Moving a gate help!! - by Skillzz - 23.02.2013, 13:11
Re: Moving a gate help!! - by Skillzz - 23.02.2013, 13:21

Forum Jump:


Users browsing this thread: 1 Guest(s)