Jump to content
  • 0

Question

Posted

Salutare, as vrea sa imi adaug o comanda si nu stiu cum. Eu doresc sa imi adaug comanda /v create    si cand da cineva /v create  sa aiba NRG Privat.

1 answer to this question

Recommended Posts

Posted
new nrg[MAX_PLAYERS];

CMD:v_create(playerid, params[])
{
    DestroyVehicle(nrg[playerid]);
   	GetPlayerPos(playerid,Pos[playerid][1],Pos[playerid][2],Pos[playerid][3]);
    nrg[playerid]=CreateVehicle(522,Pos[playerid][1],Pos[playerid][2],Pos[playerid][3],0,-1,-1,10);
    PutPlayerInVehicle(playerid,nrg[playerid], 0);
    return 1;
}

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.