Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

OnPlayerKey

$
0
0
Code:

error 029: invalid expression, assumed zero
PHP Code:

public OnPlayerKeyStateChange(playeridnewkeysoldkeys)
{
    new 
playerState GetPlayerState(PLAYER_STATE_DRIVER); // Get the killer's state
    
if(PRESSED(KEY_LOOK_BEHIND)
    {
        if(
playerState == PLAYER_STATE_DRIVER)
        {
            
RepairVehicle(Infernus[0]);
        }
    }
    return 
1;


?????

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>