Help?
#1

When i enter the car is wont come up Vehicle borrowed by, anyone see whats the problem?



pawn Код:
if(newkeys == PLAYER_STATE_DRIVER)
    {
        new string[128];
        new newcar = GetPlayerVehicleID(playerid);
        if(IsACopCar(newcar))
        {
            if(PlayerInfo[playerid][pFaction] != 1)
            {
                RemovePlayerFromVehicle(playerid);
                SendClientMessage(playerid, COLOR_GREY,"You don't have keys to this vehicle.");
                TogglePlayerControllable(playerid,true);

            }
            else if(CopInfo[newcar][Created] == 1)
            {
                format(string,128,"[INFO]: Vehicle borrowed by %s",CopInfo[newcar][Owner]);
                SendClientMessage(playerid, 0x8080FF96, string);
            }
        }
    }
Reply


Messages In This Thread
Help? - by N0FeaR - 30.05.2012, 21:05
Re: Help? - by Vince - 30.05.2012, 21:08
Re: Help? - by BrandyPenguin - 30.05.2012, 21:23

Forum Jump:


Users browsing this thread: 1 Guest(s)