Vehicles Slots Per 1Player
#5

Quote:
Originally Posted by DarkSkull
Посмотреть сообщение
That is because you are saving it to the first slot. The tag [vehicle] refers to the first slot. No matter what car you buy, You're always assigning it to the first slot. Look at the code:

PHP код:
vInfo[playerid][vehicle
That's the first slot. To fix this, You need to loop through the vehicle slots and get the empty slot.
And then assign the create vehicle to that.
i can make
PHP код:
vInfo[5][playerid][vehicle
to accept my 5 slots ? per 1player
Reply


Messages In This Thread
Vehicles Slots Per 1Player - by se3a - 06.04.2017, 10:35
Re: Vehicles Slots Per 1Player - by LEOTorres - 06.04.2017, 10:54
Re: Vehicles Slots Per 1Player - by se3a - 06.04.2017, 11:04
Re: Vehicles Slots Per 1Player - by DarkSkull - 06.04.2017, 13:45
Re: Vehicles Slots Per 1Player - by se3a - 06.04.2017, 14:45
Re: Vehicles Slots Per 1Player - by DarkSkull - 06.04.2017, 15:50
Re: Vehicles Slots Per 1Player - by se3a - 06.04.2017, 16:34
Re: Vehicles Slots Per 1Player - by DarkSkull - 06.04.2017, 17:01
Re: Vehicles Slots Per 1Player - by se3a - 06.04.2017, 17:05
Re: Vehicles Slots Per 1Player - by DarkSkull - 06.04.2017, 17:07

Forum Jump:


Users browsing this thread: 2 Guest(s)