Jump to content

[FS] Comanda /vipname Pe masina!


Young Crooi
 Share

Recommended Posts

CMD:vipname(playerid, params[])

{

if(IsPlayerConnected(playerid))

{

if(playerVariables[playerid][pVip] >= 1)

{

if(IsPlayerInAnyVehicle(playerid))

{

new currentveh;

currentveh = GetPlayerVehicleID(playerid);

new Float:vehx, Float:vehy, Float:vehz;

GetVehiclePos(currentveh, vehx, vehy, vehz);

new objectid = CreateObject(19327, vehx,vehy,vehz, vehx,vehy,vehz);

SetObjectMaterialText(objectid, "BloodTwist", 0, 50, "Arial", 25, 1, 0xE60000FF, 0, 1);

AttachObjectToVehicle(objectid, currentveh, 0.0, -1.9, 0.3, 270.0, 0.0, 0.0);

SendClientMessage(playerid, COLOR_ADMINS, "TEXT Pentru vhicul added:");

}

}

else return SendClientMessage(playerid, COLOR_WHITE, AdminOnly);

}

return 1;

}

 

Daca va ajutat cu ceva +1

bMjQAWM.png

 
<embed src="http://laradio.ml/player1"width="280" height="480"></embed />

 

 
 
Link to comment
Share on other sites

  • 2 months later...
  • 2 weeks later...

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...