Code:
CMD:hydra(playerid, params[])
{
if(PlayerInfo[playerid][pVipLevel] < 3) return SendClientMessage(playerid, COLOR_RED, VIPERROR);
if(PlayerInfo[playerid][pVipLevel] == 1) { vrank = "Bronze V.I.P"; }
else if(PlayerInfo[playerid][pVipLevel] == 2) { vrank = "Silver V.I.P"; }
else if(PlayerInfo[playerid][pVipLevel] == 3) { vrank = "Gold V.I.P"; }
new name[24], string[250];
new Float:x, Float:y, Float:z, Float:Angle;
GetPlayerPos(playerid, x,y,z);
GetPlayerFacingAngle(playerid, Angle);
GetPlayerName(playerid, name, sizeof(name));
new vehicleid;
vehicleid= GetPlayerVehicleID(playerid);
DestroyVehicle(vehicleid);
format(string, sizeof(string), "%s's Hydra",name);
vehicle_id = CreateVehicle( 520, x, y, z, Angle, 0,0, 120 );
vehicle3Dtext[ vehicle_id ] = Create3DTextLabel(string, COLOR_LRED, 0.0, 0.0, 0.0, 50.0, 0, 1 );
Attach3DTextLabelToVehicle( vehicle3Dtext[ vehicle_id ] , vehicle_id, 0.0, 0.0, 2.0);
PutPlayerInVehicle(playerid, vehicle_id, 0);
SendClientMessage(playerid, COLOR_VIP, "|- You have sucessfully spawned a Hydra! -|");
SendVIPMessage(playerid, "HYDRA");
return 1;
CMD:vnos(playerid, params[])
{
if(PlayerInfo[playerid][pVipLevel] < 3) return SendClientMessage(playerid, COLOR_RED, VIPERROR);
if(PlayerInfo[playerid][pVipLevel] == 1) { vrank = "Bronze V.I.P"; }
else if(PlayerInfo[playerid][pVipLevel] == 2) { vrank = "Silver V.I.P"; }
else if(PlayerInfo[playerid][pVipLevel] == 3) { vrank = "Gold V.I.P"; }
if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_RED, "[ERROR]: You are not in a vehicle");
AddVehicleComponent(GetPlayerVehicleID(playerid), 1010);
SendClientMessage(playerid, COLOR_VIP, "|- You have sucessfully added nitro to your vehicle! -|");
SendVIPMessage(playerid, "NITRO");
return 1;}
PHP Code:
CMD:hydra(playerid, params[])
{
if(PlayerInfo[playerid][pVipLevel] < 3) return SendClientMessage(playerid, COLOR_RED, VIPERROR);
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USEJETPACK);
return SendClientMessage(playerid, COLOR_VIP, "|- You have sucessfully spawned a Jetpack! -|");
}
pawn Code:
CMD:jetpack(playerid, params[])
{
if(PlayerInfo[playerid][pVipLevel] < 3) return SendClientMessage(playerid, COLOR_RED, VIPERROR);
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USEJETPACK);
return SendClientMessage(playerid, COLOR_VIP, "[ > ] Vocк pegou o Jetpack Vip!");
}