level system flip car command help
#1

pawn Код:
//1.LĪMENIS
if(GetPlayerScore(playerid) >= 1)

              {
    if(!strcmp(cmdtext, "/repaircar", true, 4))
        {
        if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, -1, "KĻŪDA:Tev jābūt maљīnā!");
        {
        new vehicleid = GetPlayerVehicleID(playerid);
        SetVehicleHealth(vehicleid, 1000.0);
        }
        SendClientMessage(playerid, 0x00CC00FF, "Tava maљīna salabota!");
        return 1;
        }

       





//===================================================================================================================//
//2.LĪMENIS
    if(GetPlayerScore(playerid) >= 2)
    {
    if(!strcmp(cmdtext, "/flipcar", true, 4))
    {
    if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, -1, "Tev jaatrodas transportaliidzekli.");
    {
    new maha;
    new Float:angle;
    maha = GetPlayerVehicleID(playerid);
    GetVehicleZAngle(maha, angle);
    SetVehicleZAngle(maha, angle);
    }
    return 1;
    }
    }
    return 0;
    }
    }
no errors, all okey, but ingame flipcar command is not working. whats wrong?
repaircar is okey, working.
Reply


Messages In This Thread
Flip car command not working! - by fireboy - 21.10.2012, 11:01
Re: level system flip car command help - by Abhishek. - 21.10.2012, 11:42
Re: level system flip car command help - by fireboy - 21.10.2012, 13:20
Re: level system flip car command help - by RedJohn - 21.10.2012, 14:15
Re: level system flip car command help - by fireboy - 21.10.2012, 15:26
Re: level system flip car command help - by fireboy - 22.10.2012, 06:59

Forum Jump:


Users browsing this thread: 1 Guest(s)