29.05.2013, 02:03
Quote:
Tenta
pawn Код:
|
PHP код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if( newkeys & KEY_CTRL_BACK )
{
if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, Roxo, "Vocк Nao pode Usar Speed-Hacker No Vehiculo");
new Float:Jump[3];
SpeedHa[playerid] --;
SetPlayerHealth(playerid, 5000);
if (GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
{
GetPlayerVelocity(playerid, Jump[0], Jump[1], Jump[2]);
SetPlayerVelocity(playerid, Jump[0]*3, Jump[1]*3, Jump[2]);
}
}
return 1;
}