Gate Command Issues
#1

Okay,

So I haev ac ommand that sets the Team which allows me to open the Gate(s).

The command works fine but the Gate Commands do not work.


I have checked the co ords, I do use a timer to close the Gates. Here is the commands.

pawn Код:
if(strcmp(cmdtext,"/ap") == 0)
    {
    if(PlayerTeam[playerid] == Team_Fire || PlayerTeam[playerid] == Team_LVPD || PlayerTeam[playerid] == Team_EMS)
    {
    MoveObject(AirportGate,2114.857421875,2841.505859375,12.5,10);
    }
    return 1;
    }
    if(strcmp(cmdtext,"/fd") == 0)
    {
    if(PlayerTeam[playerid] == Team_Fire)
    {
    SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Fire Dept Gate Opening!");
    MoveObject(FireGate,2526.25,683.5712890625,11.495002746582,10);
    }
    return 1;
    }
Any help is appreciated
Reply


Messages In This Thread
Gate Command Issues - by [UG]Scripter - 20.11.2010, 02:11
Re: Gate Command Issues - by Larsey123IsMe - 20.11.2010, 02:31
Re: Gate Command Issues - by [UG]Scripter - 20.11.2010, 02:55
Re: Gate Command Issues - by Steven82 - 20.11.2010, 03:52
Re: Gate Command Issues - by [UG]Scripter - 20.11.2010, 03:58
Re: Gate Command Issues - by Steven82 - 20.11.2010, 04:14

Forum Jump:


Users browsing this thread: 1 Guest(s)