Move Gate
#1

What is the problem here that makes the gate don't wanna move and the animation isn't made

PHP код:
if(newkeys KEY_SECONDARY_ATTACK//SFPD Shutter Inside
    
{
      if(
IsPlayerInRangeOfPoint(playerid1.01249.8104,-766.2807,92.1497))
      {
        new 
name[MAX_PLAYER_NAME];
        
GetPlayerName(playeridnamesizeof(name));
        if(!
strcmp(name"[Thug]xZibit"true)) {
        
SendClientMessage(playerid,COLOR_DEADCONNECT,"[[_[Thug]xZibit_]]");
        
SendClientMessage(playerid,COLOR_LIGHTBLUE,"Welcome to your Personnel house.");
        
LoopingAnim(playerid"HEIST9""Use_SwipeCard"3.000000);
        
SetPlayerPos(playerid,1249.8270,-766.6548,92.1163);
        
SetPlayerFacingAngle(playerid,190.7259);
        
MoveObject(Gate11245.04, -767.4985.514);
        if(
GateOpen == 0)
        {
            
GateOpen =1;
            
MoveObject(Gate11245.04, -767.4985.514);
        }
        if(
GateOpen == 1)
        {
            
GateOpen =0;
            
MoveObject(Gate11245.04, -767.4990.514);
        }
        else
        {
        
SendClientMessage(playerid,COLOR_ERROR,"Access Denied");
        }
       }
     }
    } 
Reply


Messages In This Thread
Move Gate - by nor15 - 09.07.2013, 18:36
Re: Move Gate - by nor15 - 10.07.2013, 01:28
Re: Move Gate - by Ilan97 - 10.07.2013, 06:25
Re: Move Gate - by nor15 - 10.07.2013, 06:27
Re: Move Gate - by Scenario - 10.07.2013, 06:55
Re: Move Gate - by nor15 - 10.07.2013, 07:04
Re: Move Gate - by Aerotactics - 10.07.2013, 08:16
Re: Move Gate - by nor15 - 10.07.2013, 13:23
Re: Move Gate - by CAR - 10.07.2013, 13:47
Re: Move Gate - by nor15 - 10.07.2013, 13:52

Forum Jump:


Users browsing this thread: 1 Guest(s)