Vehicle Health
#1

this is always returning player can't drive...

Код:
			case MAX_DRIVERTEST_CP:
			{
			    new string[125];
			    DisablePlayerCheckpoint(playerid);
			    DrivingStep[playerid] = 0;
			    new Float:vehp;

				if(GetVehicleHealth(v,vehp) < 750)
				{
					format(string, sizeof(string), "Player (%d) Cant Driver For ****..someone call him a Taxi!!", playerid);
					// Add Var to Set Licese Licese[playerid] = 1;
				}
				else
				{
				    format(string, sizeof(string), "Player (%d) Passed His Drivers Test, we are no longer safe on the streets!", playerid);
                    // Add Var to Set TAKE Licese Just in case of Bug ( Licese[playerid] = 0; )
				}
				SendClientMessageToAll(COLOR_LIGHTRED, string);
				DrivingTest[playerid] = 0;
			}
		}
	}
Reply


Messages In This Thread
Vehicle Health - by CT_Ronnie_Deo - 03.08.2010, 05:40
Re: Vehicle Health - by iggy1 - 03.08.2010, 07:07
Re: Vehicle Health - by CT_Ronnie_Deo - 03.08.2010, 08:32

Forum Jump:


Users browsing this thread: 1 Guest(s)