Kalcor - ospawner.pwn filterscript. -
Kyle - 15.06.2013
How does it get a list of the objects to show?
I see: CreateModelPreviewTextDraw(playerid, itemat
With `itemat` being the model but I don't see `itemat` being set with the loop and only once within the function so how does the model change?
Regards
Re: Kalcor - ospawner.pwn filterscript. -
Scenario - 15.06.2013
Itemat is added to each time the loop processes. So it was originally the value of the PVar, then it just gets added to.
Re: Kalcor - ospawner.pwn filterscript. -
Kyle - 15.06.2013
Quote:
Originally Posted by RealCop228
Itemat is added to each time the loop processes. So it was originally the value of the PVar, then it just gets added to.
|
I didn't notice that increment, but even so how can that work out as a model id?
Re: Kalcor - ospawner.pwn filterscript. -
Kyle - 15.06.2013
Is it possible to only display a list of object ID's I have in an array, if so how?
Regards
Re: Kalcor - ospawner.pwn filterscript. -
Austin - 15.06.2013
ospawner_page should be set to 0 when first started.
In the while loop ... itemat < sizeof(FurnitureItems) ... instead of ... itemat < gTotalItems
CreateModelPreviewTextDraw(playerid, FurnitureItems[itemat][FurniID], ...
itemat will serve as the place in the array, not the model id.
Re: Kalcor - ospawner.pwn filterscript. -
Kyle - 15.06.2013
Quote:
Originally Posted by Austin
ospawner_page should be set to 0 when first started.
In the while loop ... itemat < sizeof(FurnitureItems) ... instead of ... itemat < gTotalItems
CreateModelPreviewTextDraw(playerid, FurnitureItems[itemat][FurniID], ...
itemat will serve as the place in the array, not the model id.
|
Thank you!
[23:46:00] Austin Brock: hope it works
[23:46:05] Austin Brock: although, I’d put my dick on it working
^ you better be right otherwise I'm chopping it off.
Re: Kalcor - ospawner.pwn filterscript. -
Austin - 15.06.2013
Can you break it at the 8 inches length so I can keep some of it? I'm going to miss the other 6

.