newskeys problem
#4

pawn Код:
if(newkeys & KEY_NO)
    {
        print("someone pressed n");
        new Float: V_Pos[3]; GetVehiclePos(vehicleid, V_Pos[0], V_Pos[1], V_Pos[2]);

        if(vehicleid != INVALID_VEHICLE_ID && IsPlayerInRangeOfPoint(playerid, 3.0, V_Pos[0], V_Pos[1], V_Pos[2]))
        {
            if(vehicleid >= kasecar[0] && vehicleid <= kasecar[4])
            {
                if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
                {
                    if(playerDB[playerid][Test] == 1)
                    {
                        SetPlayerSpecialAction(playerid, SPECIAL_ACTION_NONE);
                        RemovePlayerAttachedObject(playerid, 0);
                        SendClientMessage(playerid, -1, "Test");
                        playerDB[playerid][Test] = 0;
If "someone pressed n" is never printed to the console then whatever comes before your code is breaking it.
Reply


Messages In This Thread
newskeys problem - by Karolukas123 - 03.08.2015, 18:36
Re: newskeys problem - by b3nz - 03.08.2015, 19:19
Re: newskeys problem - by Marricio - 03.08.2015, 19:26
Re: newskeys problem - by Crayder - 03.08.2015, 19:29

Forum Jump:


Users browsing this thread: 2 Guest(s)