[HELP]Random Cmd
#7

where to put
new SELLCAR1[] = { 600, 671, 689, 571, 861, 751, 1267, 678, 874, 698, 1000 };
a example cmd with this "/sellcar
new rand = random(sizeof(SELLCAR1));
format(string, sizeof(string), "Your %d$, cash.", SELLCAR1[rand]);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
GivePlayerCash(playerid, SELLCAR1[rand]);
Reply


Messages In This Thread
[HELP]Random Cmd - by mayk - 01.10.2011, 18:13
Re: [HELP]Random Cmd - by Kingunit - 01.10.2011, 18:28
Re: [HELP]Random Cmd - by mayk - 01.10.2011, 18:31
Re: [HELP]Random Cmd - by Kingunit - 01.10.2011, 18:37
Re: [HELP]Random Cmd - by mayk - 01.10.2011, 18:44
Re: [HELP]Random Cmd - by Slake - 01.10.2011, 18:47
Re: [HELP]Random Cmd - by mayk - 01.10.2011, 19:07
Re: [HELP]Random Cmd - by DRIFT_HUNTER - 01.10.2011, 19:08
Re: [HELP]Random Cmd - by mayk - 01.10.2011, 19:15
Re: [HELP]Random Cmd - by Kingunit - 01.10.2011, 19:17

Forum Jump:


Users browsing this thread: 2 Guest(s)