Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×

Recommended Posts

Posted

Am un server de Stunt 

Si imi lipsesc comenzii cum ar fi: /speed /vup /de /buyvip /setvip 

Cine imi poate face comenziile astea folosind teamviewer ii dau admin 100 (atat e max la mine)

Discord: FreshESS:3432

  • 2 months later...
Posted

//Asta poti sa o pui pe la inceput

new EnabledSpeed [ MAX_PLAYERS ]; 

//Asta in OnPlayerConnect

public OnPlayerConnect(playerid) {

    EnabledSpeed [ playerid ] = 0;

//Asta o bagi in OnPlayerKeyStateChange

if(EnabledSpeed [ playerid ] == 1 && PlayerInfo[playerid][pAdmin] >= 5) {
       if(newkeys & KEY_FIRE && IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER) {
            if(IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER) {
                new Float:x, Float:y, Float:z;
                GetVehicleVelocity(GetPlayerVehicleID(playerid), x, y, z);
                SetVehicleVelocity(GetPlayerVehicleID(playerid), x * 3, y * 3, z * 3);
            }

 

Sper ca te-am ajutat :D

YouTube: Click

Discord: 80 ON MY WRIST#9201

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.