[Ajuda] Player Corre Mais Rapido
#3

Quote:
Originally Posted by dEvasT._
Посмотреть сообщение
Tenta

pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
 if( newkeys & KEY_UP )
 {
     if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, Roxo, "Vocк Nao pode Usar Speed-Hacker No Vehiculo");
  new Float:Jump[3];
  SpeedHa[playerid] --;
  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;
}
Eu mudei a tecla ficou assim
PHP код:
public OnPlayerKeyStateChange(playeridnewkeysoldkeys)
{
    if( 
newkeys KEY_CTRL_BACK )
    {
        if(
IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playeridRoxo"Vocк Nao pode Usar Speed-Hacker No Vehiculo");
        new 
Float:Jump[3];
        
SpeedHa[playerid] --;
        
SetPlayerHealth(playerid5000);
        if (
GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
        {
            
GetPlayerVelocity(playeridJump[0], Jump[1], Jump[2]);
            
SetPlayerVelocity(playeridJump[0]*3Jump[1]*3Jump[2]);
        }
    }
    return 
1;

mais tipo na hora que pulo o cara nao corre rapido ele quase voa kk HELP!
Reply


Messages In This Thread
Player Corre Mais Rapido - by RoberteDl - 29.05.2013, 01:18
Re: Player Corre Mais Rapido - by dEvasT._ - 29.05.2013, 01:53
Re: Player Corre Mais Rapido - by RoberteDl - 29.05.2013, 02:03
Re: Player Corre Mais Rapido - by dEvasT._ - 29.05.2013, 02:08
Re: Player Corre Mais Rapido - by RoberteDl - 29.05.2013, 02:19
Re: Player Corre Mais Rapido - by RoberteDl - 29.05.2013, 02:36
Re: Player Corre Mais Rapido - by RoberteDl - 29.05.2013, 03:52

Forum Jump:


Users browsing this thread: 1 Guest(s)