03.04.2016, 21:09
Код:
new Keys,ud,lr; GetPlayerKeys(playerid,Keys,ud,lr); if(ud == KEY_SPRINT && ud == KEY_JUMP){ Kick(playerid); }
Thanks.
new Keys,ud,lr; GetPlayerKeys(playerid,Keys,ud,lr); if(ud == KEY_SPRINT && ud == KEY_JUMP){ Kick(playerid); }
if(newkeys & KEY_SPRINT && newkeys & KEY_JUMP){ if(IsPlayerInAnyVehicle(playerid)){ SetTimerEx("ewsnow", 14000, false, "i", playerid); } } forward ewsnow(playerid); public ewsnow(playerid){ new Keys,ud,lr; GetPlayerKeys(playerid,Keys,ud,lr); if(ud == KEY_SPRINT){ SetTimerEx("ewsnoww", 1000, false, "i", playerid); } return 1; } forward ewsnoww(playerid); public ewsnoww(playerid){ new Keys,ud,lr; GetPlayerKeys(playerid,Keys,ud,lr); if(ud == KEY_JUMP){ if(IsPlayerInAnyVehicle(playerid)){ Kick(playerid); } } return 1; }