/car factionize
#1

Hi,
I have some bug with /car factionize cmd, When some one factionize some car he still have that car as slot number
Then he cant own more cars and i need open for him slots.
How can i make it auto remove from his slots, after /car factionize will remove one car
Thanks for helpers !
Reply
#2

N one can help you with this thread because you don't send us the mistake you only explain the mistake
Reply
#3

Well as i said, When some one want to factionize his own car ( make it faction car) he doing /car factionize then he made it owned by his faction but the car slot still stay owned on his car slots, on the GM u can own 4 cars so if he owned 4 cars and wanted factionze one so he still have 4 cars the car slot dont gone.
Reply
#4

Add this at /car factionize:

Код:
				new minuscars = PlayerInfo[playerid][canhavecars];
				minuscars = minuscars-1;
				dUserSetINT(PlayerName(playerid)).("canhavecars",minuscars);
				PlayerInfo[playerid][canhavecars]=minuscars ;
If you get any errors/warnings or it dosn't works, ask me on skype.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)