Find a name inside all existing files
#2

Add a break statement after 'Player[playerid][Owner] = 1;'. This will jump straight out of the loop once the item is found, and your 'file' variable will still be usable. Assuming that each player can only own 1 car.
Reply


Messages In This Thread
Find a name inside all existing files - by blackwave - 24.01.2011, 17:37
Re: Find a name inside all existing files - by Vince - 24.01.2011, 17:41
Re: Find a name inside all existing files - by blackwave - 24.01.2011, 17:44
Re: Find a name inside all existing files - by blackwave - 24.01.2011, 18:07
AW: Find a name inside all existing files - by Nero_3D - 25.01.2011, 13:49
Re: Find a name inside all existing files - by Sergei - 25.01.2011, 13:53

Forum Jump:


Users browsing this thread: 1 Guest(s)