10.06.2013, 19:19
Hello!
Im making rent car system but i dont understand how can i make that no one can enter car if that is already rented.
Like this
P.S this code is just fast example, hope you understand me
Im making rent car system but i dont understand how can i make that no one can enter car if that is already rented.
Like this
P.S this code is just fast example, hope you understand me
Код:
CMD:rentcar(playerid,params[]) { if(!IsRented(playerid)) return scm(playerid, -1, "This car is already rented); { SetRented to car !!!!!!! SCM(playerid,-1,"You have rented this car"); return 1; } Onplayerenterveh if(IsRented(playerid)) { removeplayerfromveh stock IsRented SetRented to car !!!!!!!