Need help with car lock break
#1

I want to know how player can unlock the with toolkit?
my codes like this:
PHP код:
ew FloatxFloatyFloatz;
    if(
PlayerInfo[playerid][pVehicleKeysFrom] != INVALID_PLAYER_ID)// The problem is here this mean only if is your car you can un lock it how i can make it if you have toolkit you can unlock it?
    
{
        new 
ownerid PlayerInfo[playerid][pVehicleKeysFrom];
        if(
IsPlayerConnected(ownerid))
        {
            new 
PlayerInfo[playerid][pVehicleKeys];
            if(
PlayerVehicleInfo[ownerid][d][pvId] != INVALID_PLAYER_VEHICLE_IDGetVehiclePos(PlayerVehicleInfo[ownerid][d][pvId], xyz);
            if(
IsPlayerInRangeOfPoint(playerid3.0xyz)) 
Reply


Messages In This Thread
Need help with car lock break - by Kenway - 28.12.2012, 20:02
Re: Need help with car lock break - by RedCrossER - 28.12.2012, 20:28
Re: Need help with car lock break - by Kenway - 28.12.2012, 20:46
Re: Need help with car lock break - by Kenway - 29.12.2012, 15:41
Re: Need help with car lock break - by Kenway - 30.12.2012, 11:29
Re: Need help with car lock break - by Konstantinos - 30.12.2012, 11:51

Forum Jump:


Users browsing this thread: 1 Guest(s)