gate moving problem
#4

the gate is thier but it still wont open

PHP код:
#include <a_samp>
#define COLOR_RED 0xAA3333AA
new gateobject;
public 
OnFilterScriptInit()
{
    
gateobject CreateObject(980,1101.7249755859, -1741.276733398415.2739582061770090);
    return 
1;
}
public 
OnPlayerCommandText(playeridcmdtext[])
{
    if (
strcmp("/buyticket"cmdtexttrue10) == 0)
    {
    if(
GetPlayerMoney(playerid) <= 250) return SendClientMessage(playerid0xFFFFFF"You are to far to pay.");
    
GivePlayerMoney(playerid, -250);    MoveObject(gateobject,1101.7249755859, -1741.276733398415.2739582061775.0);
    
SendClientMessage(playerid,COLOR_RED,"You have just paid and the gate is open");
    return 
1;
    }
    return 
0;

Reply


Messages In This Thread
gate moving problem - by Tom1412 - 24.10.2010, 11:01
Re: gate moving problem - by JaTochNietDan - 24.10.2010, 11:02
Re: gate moving problem - by Rafa - 24.10.2010, 11:12
Re: gate moving problem - by Tom1412 - 24.10.2010, 11:40
Re: gate moving problem - by JaTochNietDan - 24.10.2010, 12:00

Forum Jump:


Users browsing this thread: 1 Guest(s)