Jump to content
  • 0

Masina


Shaolinu

Question

Problema intalnita (descriere):Scriu /work1.. si ma da langa masina..eu am nevoie sa ma dea in masina..Chiar nu am idee ce sa-i fac..Si asta e si ultima intrebare pusa pe acest forum.Va rog ajutati-ma
Ero(area / rile) / warning-(ul / urile): - 
Liniile de cod / sursa / script-ul(obligatoriu):

Citat

CMD:work1(playerid, params[])
{
if(!IsPlayerInRangeOfPoint(playerid, 9.0, 2778.5815, -1610.8379, 10.9219)) return SendClientMessage(playerid, COLOR_ERROR, "Nu Sunteti In Locul Potrivit.");
SendClientMessage(playerid, COLOR_WHITE, "* Pe mapa ai un checkpoint,Du-te la el pentru a primi banii.");
new Float:X,Float:Y,Float:Z,arms;
    GetPlayerPos(playerid, X,Y,Z);
    CreateVehicle(414, X, Y, Z, 62.6996, -1, -1, 10);
    SetVehicleParamsEx(arms,VEHICLE_PARAMS_OFF,VEHICLE_PARAMS_OFF,alarm,doors,bonnet,boot,objective);
    armsveh[arms] = 1;
    SetVehicleNumberPlate(arms, "ARMS");
    PutPlayerInVehicle(playerid, arms, 0);
    SetPlayerCheckpoint(playerid, 2795.3052,-2538.5703,13.6293, 5.0);
    CP[playerid] = 2;
    ArmsV[0][playerid] = arms;
return 1;
}


Imagini / Video (optional): -
Ati incercat sa rezolvati singur?: -

Am facut si 1 paste bin daca era nevoie http://pastebin.com/8Xd9hr6N

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

Foloseste acest cod:


    if(GetPlayerState(id)!=1) return SendClientMessage(playerid,COLOR_GREY,"?? ??????!");
    new Float: XYZ[4];
    GetPlayerPos(id, XYZ[0], XYZ[1], XYZ[2]); GetPlayerFacingAngle(id, XYZ[3]);
    if(PlayerInfo[id][plveh]!=-1)DestroyVehicle(PlayerInfo[id][plveh]);
    PlayerInfo[id][plveh] = CreateVehicle(veh, XYZ[0], XYZ[1], XYZ[2], XYZ[3], -1, -1, -1);
    VehicleInfo[PlayerInfo[id][plveh]][vAntiRepair] = 2;
    VehicleHealth[PlayerInfo[id][plveh]] = 1000;
    PutPlayerInVehicle(id, PlayerInfo[id][plveh], 0);

Script Developer at Gta-Onyx.com

Creatiile mele:

Gamemode: Gta-Onyx #Build 10.5b

Gamemode: Country-Life v10 Final

Gamemode: Dream-Times v3.3.4 Final

Gamemode: Cartierul V1 (Curand)

AntiCheat Shock Final

Link to comment
Share on other sites

  • 0
Acum 12 ore, DanielMayson a spus:

if(GetPlayerState(id)!=1) return SendClientMessage(playerid,COLOR_GREY,"?? ??????!");
    new Float: XYZ[4];
    GetPlayerPos(id, XYZ[0], XYZ[1], XYZ[2]); GetPlayerFacingAngle(id, XYZ[3]);
    if(PlayerInfo[id][plveh]!=-1)DestroyVehicle(PlayerInfo[id][plveh]);
    PlayerInfo[id][plveh] = CreateVehicle(veh, XYZ[0], XYZ[1], XYZ[2], XYZ[3], -1, -1, -1);
    VehicleInfo[PlayerInfo[id][plveh]][vAntiRepair] = 2;
    VehicleHealth[PlayerInfo[id][plveh]] = 1000;
    PutPlayerInVehicle(id, PlayerInfo[id][plveh], 0);

Asta il pun dupa asta al meu?

Link to comment
Share on other sites

  • 0

mare e gradina ta doamne daca onu te-a dat principele principale te asa de greu sa-l faci compatibil cu gamemodul tau ?

sau sa incerci sa rezolvi si problema singur, ca asa mai inveti si tu.

 

  • Upvote 1

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.