Array of a string value, two integers. Select randomly...
#2

pawn Код:
new array[][]=
{
        "Hello",
        "test"
};
OnSomeCallBack
{
 new random=random(sizeof(array));
 new string[50];
 format(string,sizeof(string),"%s",random);
 SendClientMessage(playerid, -1, string);
 return 1;
}
Something like that?
Reply


Messages In This Thread
Array of a string value, two integers. Select randomly... - by Scenario - 21.01.2013, 05:08
Re: Array of a string value, two integers. Select randomly... - by RajatPawar - 21.01.2013, 05:12
Re: Array of a string value, two integers. Select randomly... - by Scenario - 21.01.2013, 05:13
Re: Array of a string value, two integers. Select randomly... - by Scenario - 21.01.2013, 05:47
Re: Array of a string value, two integers. Select randomly... - by RajatPawar - 21.01.2013, 05:52

Forum Jump:


Users browsing this thread: 1 Guest(s)