dialog/what the wrong with this?
#8

Try this :
pawn Код:
if(strcmp(cmd, "/bigfall", true) == 0) {
        if(IsPlayerInAnyVehicle(playerid)) {
            new Ang;
            new Float:X;
            new Float:Y;
            new Float:Z;
            new VehicleID;
            GetPlayerPos(playerid, X, Y, Z);
            VehicleID = GetPlayerVehicleID(playerid);
            SetVehiclePos(VehicleID, X, Y, Z + 800.00);
            SetPlayerFacingAngle(playerid,Ang);
            GivePlayerWeapon(playerid,46,1);
            return 1;
        }
        else
        {
            new Ang;
            new Float:X;
            new Float:Y;
            new Float:Z;
            GetPlayerPos(playerid, X, Y, Z);
            SetPlayerPos(playerid, X, Y, Z + 800.00);
            SetPlayerFacingAngle(playerid,Ang);
            GivePlayerWeapon(playerid,46,1);
            GameTextForPlayer(playerid, "~w~Weeeeeeeeeeeeeeeeee!!",8000,5);
            return 1;
        }
    }
Reply


Messages In This Thread
dialog/what the wrong with this? - by misho1 - 20.04.2011, 15:40
Re: dialog/what the wrong with this? - by Stigg - 20.04.2011, 15:51
Re: dialog/what the wrong with this? - by misho1 - 20.04.2011, 15:55
Re: dialog/what the wrong with this? - by Gertin - 20.04.2011, 15:56
Re: dialog/what the wrong with this? - by misho1 - 20.04.2011, 15:59
Re: dialog/what the wrong with this? - by misho1 - 20.04.2011, 16:01
Re: dialog/what the wrong with this? - by misho1 - 20.04.2011, 16:04
Re: dialog/what the wrong with this? - by Gertin - 20.04.2011, 16:06
Re: dialog/what the wrong with this? - by misho1 - 20.04.2011, 16:14
Re: dialog/what the wrong with this? - by Gertin - 20.04.2011, 16:22

Forum Jump:


Users browsing this thread: 1 Guest(s)