11.08.2012, 16:09
Hello,
I want to check is player holding W and S in vehicle, but from some reason it doesn't do what I want.
Here is the code:
It doesn't print anything in console.
I want to check is player holding W and S in vehicle, but from some reason it doesn't do what I want.
Here is the code:
pawn Код:
if(HOLDING(KEY_UP | KEY_DOWN) && IsPlayerInAnyVehicle(playerid)){
Boost[playerid]++;
printf("%d", Boost[playerid]);
}