[Tutorial] Entering RC Vehicles with OnPlayerKeyStateChange
#2

Why you do create new array then loop through it while that function only requires simple switch?

pawn Код:
stock IsVehicleRCVehicle(vehicleid)
{
     switch(GetVehicleModel(vehicleid))
     {
          case 441,464,465,501,564,594: return 1;
     }
     return 0;
}
Reply


Messages In This Thread
Entering RC Vehicles with OnPlayerKeyStateChange - by Hiddos - 08.07.2010, 17:20
Re: Entering RC Vehicles with OnPlayerKeyStateChange - by Sergei - 09.07.2010, 10:09
Re: Entering RC Vehicles with OnPlayerKeyStateChange - by Hiddos - 09.07.2010, 10:19
Re: Entering RC Vehicles with OnPlayerKeyStateChange - by Cameltoe - 09.07.2010, 10:26
Re: Entering RC Vehicles with OnPlayerKeyStateChange - by iZN - 13.07.2010, 10:37
Re: Entering RC Vehicles with OnPlayerKeyStateChange - by Aleluja - 13.07.2010, 11:52
Re: Entering RC Vehicles with OnPlayerKeyStateChange - by Nanjaya - 23.06.2013, 08:33

Forum Jump:


Users browsing this thread: 3 Guest(s)