What's wrong here?!
#2

to avoid the errors type that one instead:
pawn Код:
if(strcmp(cmd, "/entrafbi", true) == 0)
    {
      if(PlayerInfo[playerid][pMember] != 1 || PlayerInfo[playerid][pMember] != 2) return    SendClientMessage(playerid, WHITE, "* Non hai le chiavi di questo garage!");
       
        if(IsPlayerInRangeOfPoint(playerid,5.0,-1979.1746,428.2549,24.8454)
        {
        SetVehiclePos(GetPlayerVehicleID, -2025.1678,405.3524,2.8828);
        SetPlayerPos(playerid, -2025.1678,405.3524,2.8828);
        PutPlayerInVehicle(playerid, gLastCar[playerid], 1);
        }
       else if(IsPlayerInRangeOfPoint(playerid,5.0,-2025.1678,405.3524,2.8828)
       {
       SetVehiclePos(GetPlayerVehicleID, -1979.1746,428.2549,24.8454);
       SetPlayerPos(playerid,-1979.1746,428.2549,24.8454);
        PutPlayerInVehicle(playerid, gLastCar[playerid], 1);
       }
     return 1;
     }
Reply


Messages In This Thread
What's wrong here?! - by alanhutch - 01.06.2014, 15:21
Re: What's wrong here?! - by Eth - 01.06.2014, 15:26
Re: What's wrong here?! - by alanhutch - 01.06.2014, 15:26

Forum Jump:


Users browsing this thread: 1 Guest(s)