12.02.2012, 23:57
veja assim:
se nгo der troca o newkeys pelo numero 4096 e testa
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys == 512 && IsPlayerInAnyVehicle(playerid))
{
OnPlayerCommandText(playerid, "/reparar");
}
return 1;
}