Error sistem
#2

It supposed to be

Код:
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
    		{
        		for(new i = 0; i < sizeof(SpikeInfo); i++)
  	    		{
  	        		if(IsPlayerInRangeOfPoint(playerid, 3.0, SpikeInfo[i][nX], SpikeInfo[i][nY], SpikeInfo[i][nZ]))
            		{
  	            		if(SpikeInfo[i][sCreated] == 1)
  	            		{
  	                		new panels, doors, lights, tires;
  	                		new carid = GetPlayerVehicleID(playerid);
		            		GetVehicleDamageStatus(carid, panels, doors, lights, tires);
		            		tires = encode_tires(1, 1, 1, 1);
		            		UpdateVehicleDamageStatus(carid, panels, doors, lights, tires);
  	                		return 0;
  	            		}
  	        		}
  	    		}
  			}
Reply


Messages In This Thread
Error sistem - by Jimmi - 26.08.2015, 23:57
Re: Error sistem - by madma - 27.08.2015, 02:56

Forum Jump:


Users browsing this thread: 3 Guest(s)