OnPlayerKey
#2

You have forgot one closing bracket
Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) 
{ 
    new playerState = GetPlayerState(PLAYER_STATE_DRIVER); // Get the killer's state 
    if(PRESSED(KEY_LOOK_BEHIND)) //<<< Here
    { 
        if(playerState == PLAYER_STATE_DRIVER) 
        { 
            RepairVehicle(Infernus[0]); 
        } 
    } 
    return 1; 
}
Reply


Messages In This Thread
OnPlayerKey - by Thanks - 01.01.2018, 20:01
Re: OnPlayerKey - by FailerZ - 01.01.2018, 20:03
Re: OnPlayerKey - by Thanks - 01.01.2018, 20:04
Re: OnPlayerKey - by ThePhenix - 01.01.2018, 20:04
Re: OnPlayerKey - by Abagail - 01.01.2018, 20:16

Forum Jump:


Users browsing this thread: 1 Guest(s)