Jump to content
  • 0

Buna ma ajutati si pe mine



As vrea sa stiu cum as putea pune pe un server masini personale de exemplu Vreau sa pun un infernus sa apartina doar unui membru si sa nu trebuiasca sa fie cumparata adica sa ai pun eu proprietarul si cand vrea sa intre un alt playeri in el sa nu il lase si sa scrie Proprietar:Numele

Daca vreti sa vorbim add skype: skilzo98

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


Sus pe la inceput pui:

[pawn]new mycar;[/pawn]

La OnGameModeInit adaugi:

[pawn]mycar = CreateVehicle(541,284.2225,-1161.5023,80.7970,223.1380,0,0, 7200); // aici coordonatele la masina ta.[/pawn]

Si la OnPlayerStateChange adaugi


new vehicleid = GetPlayerVehicleID(playerid);

GetPlayerName(playerid, pname, sizeof pname);

if(newstate == PLAYER_STATE_DRIVER)


    if(vehicleid == mycar)


        if(strcmp(pname, "Nick", true) ==0) // Inlocuieste Nick-ul acolo cu nick-ul tau


            return 1;





            SendClientMessage(playerid,red,"This car is Owned by Nick."); // Inlocuieste si aici nick cu nick-ul tau





ATENTIE!!! Nu imi trimiteti mesaje private care au legatura cu scriptingul. NU mai scriptez.

Link to comment
Share on other sites

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.