SA-MP Forums Archive
[HELP] My Scripting Vip - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Client Support (https://sampforum.blast.hk/forumdisplay.php?fid=16)
+--- Thread: [HELP] My Scripting Vip (/showthread.php?tid=271516)



[HELP] My Scripting Vip - ViCtOr_Mc - 24.07.2011

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;
}



Re: [HELP] My Scripting Vip - -CaRRoT - 24.07.2011

Wrong Section - Should be in "Scripting Discussion"