[Tutorial] [TUT]How to create a vehicle dialog menu
#7

Download the new SA-MP server version.

Few things:
Random(bla) starts at 0 and ends at bla-1, so if you'd the random(100), the minimum would be 0 and the maximum would be 99.

Other to that, use '-1' for a default random color (A colour San Andreas randomly gives to its cars, not pink to trucks or something but just darkgreen etc. etc.)

One last suggestion: Use switch(listitem) with cases, instead of if(listitem == 0)

Looks nice, good job.
Reply


Messages In This Thread
[TUT]How to create a vehicle dialog menu - by Toni - 15.07.2010, 00:47
Re: [TUT]How to create a vehicle dialog menu - by zSuYaNw - 15.07.2010, 00:58
Re: [TUT]How to create a vehicle dialog menu - by Toni - 15.07.2010, 01:00
Re: [TUT]How to create a vehicle dialog menu - by Vampiruue - 09.08.2010, 00:56
Re: [TUT]How to create a vehicle dialog menu - by Toni - 09.08.2010, 03:26
Re: [TUT]How to create a vehicle dialog menu - by Vampiruue - 09.08.2010, 04:15
Re: [TUT]How to create a vehicle dialog menu - by Hiddos - 09.08.2010, 08:46
Re: [TUT]How to create a vehicle dialog menu - by [XST]O_x - 09.08.2010, 08:52
Re: [TUT]How to create a vehicle dialog menu - by Hiddos - 09.08.2010, 08:53
Re: [TUT]How to create a vehicle dialog menu - by hab2ever - 09.08.2010, 10:28
Re: [TUT]How to create a vehicle dialog menu - by jpboy1 - 18.08.2010, 09:24
Re: [TUT]How to create a vehicle dialog menu - by Shockey - 06.09.2010, 02:53
Re: [TUT]How to create a vehicle dialog menu - by Scenario - 06.09.2010, 03:13
Re: [TUT]How to create a vehicle dialog menu - by Toni - 06.09.2010, 03:14
Re: [TUT]How to create a vehicle dialog menu - by Shockey - 06.09.2010, 03:18
Re: [TUT]How to create a vehicle dialog menu - by Toni - 06.09.2010, 03:40
Re: [TUT]How to create a vehicle dialog menu - by Shockey - 06.09.2010, 08:18
Re: [TUT]How to create a vehicle dialog menu - by [BC]mrblonde - 19.09.2010, 19:09
Re: [TUT]How to create a vehicle dialog menu - by Toni - 19.09.2010, 19:18
Re: [TUT]How to create a vehicle dialog menu - by ExeC - 13.11.2010, 13:28
Re: [TUT]How to create a vehicle dialog menu - by HyperZ - 13.11.2010, 14:55
Re: [TUT]How to create a vehicle dialog menu - by maycore - 25.02.2011, 18:32
Re: [TUT]How to create a vehicle dialog menu - by tim10000 - 28.02.2011, 16:17
Re: [TUT]How to create a vehicle dialog menu - by tim10000 - 28.02.2011, 17:01
Re: [TUT]How to create a vehicle dialog menu - by bestr32 - 15.03.2011, 20:10
Re: [TUT]How to create a vehicle dialog menu - by SkizzoTrick - 15.03.2011, 20:21
Re: [TUT]How to create a vehicle dialog menu - by IvancheBG - 27.03.2011, 09:04
Re: [TUT]How to create a vehicle dialog menu - by NeymarJr - 30.05.2012, 11:46
Re: [TUT]How to create a vehicle dialog menu - by NeymarJr - 30.05.2012, 11:50
Re: [TUT]How to create a vehicle dialog menu - by SkL_MD - 30.05.2012, 16:05
Re: [TUT]How to create a vehicle dialog menu - by mickos - 04.06.2012, 16:54
Re: [TUT]How to create a vehicle dialog menu - by samlockyer - 17.06.2012, 11:14
Re: [TUT]How to create a vehicle dialog menu - by Povis - 18.08.2012, 09:16
Re: [TUT]How to create a vehicle dialog menu - by Pilip93 - 08.07.2013, 23:38
Re: [TUT]How to create a vehicle dialog menu - by Mindcode - 09.07.2013, 12:45

Forum Jump:


Users browsing this thread: 17 Guest(s)