Random Object
#1

pawn Код:
new Objects[][3] = {
    {1},
    {2},
    {3}
};

new RandObject = random(sizeof(Objects));
CreateObject(Objects[RandObject], player[playerid][x], player[playerid][y], player[playerid][z], 0, 0, 0, 300);
But this gives me Argument match error, ive tried to use strval but no help there.. Could anyone tell me why this occurs?
Reply


Messages In This Thread
Random Object - by Cameltoe - 31.08.2010, 00:19
Re: Random Object - by willsuckformoney - 31.08.2010, 02:45
Re: Random Object - by Cameltoe - 31.08.2010, 02:59
Re: Random Object - by Cameltoe - 31.08.2010, 18:55
Re: Random Object - by Mauzen - 31.08.2010, 19:08
Re: Random Object - by Cameltoe - 31.08.2010, 19:31
Re: Random Object - by Mike Garber - 31.08.2010, 19:35
Re: Random Object - by Cameltoe - 31.08.2010, 19:36
Re: Random Object - by Mauzen - 31.08.2010, 19:41
Re: Random Object - by Cameltoe - 31.08.2010, 20:04

Forum Jump:


Users browsing this thread: 5 Guest(s)