[Q] Array Problem Involving random skins
#1

Code:
new Police[7][1] =
{
  {265},
  {266},
  {267},
  {141},
  {150},
  {280},
  {281}
};
Thats at the top of the script.

This is under /duty

Code:
new rand;
rand = random(sizeof(Police));
for(new i = 0; i <= sizeof(Police)-1; i++) {
SetPlayerSkin(playerid, Police[i][rand]);
}
It will say Unknown Command until the SFPD skin then it will work, Whats wrong?

- Cheers Winter
Reply


Messages In This Thread
[Q] Array Problem Involving random skins - by [ERP]Snow - 19.07.2009, 10:58
Re: [Q] Array Problem Involving random skins - by Weirdosport - 19.07.2009, 11:03
Re: [Q] Array Problem Involving random skins - by [ERP]Snow - 19.07.2009, 11:15
Re: [Q] Array Problem Involving random skins - by Weirdosport - 19.07.2009, 11:17

Forum Jump:


Users browsing this thread: 1 Guest(s)