Please help
#1

Please help, where is the problem in this gate sistem?
Someone please fix it Please


PHP код:
/*
[FS] 
*/
#include <a_samp>
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_BLUE 0x2641FEAA
#define COLOR_PINK 0xFF69B4FF
#define FILTERSCRIPT
forward GateClose();
new 
gate;
public 
OnFilterScriptInit()
{
    
CreateObject(971,1480.80505371,-1741.28466797,17.11679268,0.00000000,0.00000000,0.00000000); // vārti
    
    
print("\n--------------------------------------");
    print(
"--------------Vārti-------------");
    print(
"-------------------------------");
    print(
"--------------------------------------\n");
    return 
1;
}
public 
OnFilterScriptExit()
{
    return 
1;
}
public 
OnPlayerCommandText(playeridcmdtext[])
{
    if (
strcmp(cmdtext"/mafia"true)==0)
    {
        
MoveObject(gate,1480.6030273438, -1739.806518554724.9667911529546.5);
        
SetTimer("GateClose"50000);
        
SendClientMessage(playeridCOLOR_PINK,"Atverti");
        return 
1;
    }
    return 
0;
}
public 
GateClose()
{
    
MoveObject (gate,1480.80505371, -1741.2846679717.116792683.5);
    return 
1;

Reply
#2

gate = CreateObject...
Reply
#3

OK , thanks i try ...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)