None of the commands work
#2

Код:
    new cmd[256];
    if(strcmp(cmd, "/enter", true) == 0)
    {
      if(IsPlayerConnected(playerid))
            {
            if (IsPlayerInRangeOfPoint(playerid,2255.1226,-1517.4423,519.2906, 8.0))//Prison
            {
                SetPlayerInterior(playerid, 1);
                SetPlayerFacingAngle(playerid, 266.1816);
                SetPlayerPos(playerid,1765.4119,-1540.6046,-14.7936);
                }
                }
        return 1;
    }
    return 0;
}
this was the code you have.

Try this

Код:
    new cmd[256];

    if(strcmp(cmd, "/enter", true)) {
      if(IsPlayerConnected(playerid))
            {
            if (IsPlayerInRangeOfPoint(playerid,2255.1226,-1517.4423,519.2906, 8.0))//Prison
            {
                SetPlayerInterior(playerid, 1);
                SetPlayerFacingAngle(playerid, 266.1816);
                SetPlayerPos(playerid,1765.4119,-1540.6046,-14.7936);
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
None of the commands work - by Mauka4 - 02.03.2010, 22:07
Re: None of the commands work - by -Rebel Son- - 02.03.2010, 22:42
Re: None of the commands work - by Kix - 02.03.2010, 22:43
Re: None of the commands work - by afei - 03.03.2010, 21:13
Re: None of the commands work - by adsy - 03.03.2010, 22:27

Forum Jump:


Users browsing this thread: 2 Guest(s)