[HELP] My Scripting Vip
#1

Hello people, leaves the board came to Portugal for help in America, someone could help me that when the guy gets up in the VIP vehicle was injected and he said, and you are not a VIP!

Below is my code of the VIP vehicle.

pawn Код:
CMD:vhydra(playerid, params[])
{
    if(PlayerInfo[playerid][VIP] != 1) return SendClientMessage(playerid,0xD8D8D8FF,".::[INFO] Vocк nгo й VIP .!");
    new Float:X,Float:Y,Float:Z,Float:Angle, carid;
    GetPlayerPos(playerid,X,Y,Z);
    GetPlayerFacingAngle(playerid,Angle);
    carid = GetPlayerVehicleID(playerid);
    carid = CreateVehicle(550,X,Y,Z,0.0,-1,-1,9000000);
    new Text3D:vehicle3Dtext;
    vehicle3Dtext = Create3DTextLabel( "Veiculo VIP", 0xB4B5B7FF, 30.0,40.0,50.0,40.0,0);
    Attach3DTextLabelToVehicle(vehicle3Dtext, carid, 0.0,-0.0,0.5);
    PutPlayerInVehicle( playerid, carid, 0)   ;
    LinkVehicleToInterior(carid, GetPlayerInterior(playerid));
    TogglePlayerControllable(playerid,true);
    return 1;
}
Reply
#2

Wrong Section - Should be in "Scripting Discussion"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)