array help
#4

second argument of that function should be an integer, not an array
try this:
pawn Код:
for (new vehicle, size = sizeof(vid); vehicle < size; vehicle++)
{
    if (IsPlayerInVehicle(playerid, vid[vehicle]))
    {
        // some code       
    }  
}
Reply


Messages In This Thread
array help - by sggassasin - 29.08.2009, 06:49
Re: array help - by ded - 29.08.2009, 06:53
Re: array help - by sggassasin - 29.08.2009, 06:54
Re: array help - by Zeex - 29.08.2009, 07:19
Re: array help - by sggassasin - 29.08.2009, 08:04
Re: array help - by M4S7ERMIND - 29.08.2009, 09:11
Re: array help - by ded - 29.08.2009, 09:13

Forum Jump:


Users browsing this thread: 1 Guest(s)