[Help] Lock problem
#3

mine looks like this

Код:
public OnVehicleStreamIn(vehicleid, forplayerid)
{
	new p1, p2;
	p1 = vParams[vehicleid][forplayerid] & 2;
	p2 = vParams[vehicleid][forplayerid] & 1;
	SetVehicleParamsForPlayer(vehicleid, forplayerid, p1, p2);
    return 1;
}

public SetVehicleParamsForPlayerEx(vehicleid, playerid, para1, para2)
{
	vParams[vehicleid][playerid] = para1*2 + para2;
	if(IsVehicleStreamedIn(vehicleid, playerid))
	    SetVehicleParamsForPlayer(vehicleid, playerid, para1, para2);
	return 1;
}
Reply


Messages In This Thread
[Help] Lock problem - by Jimbo01 - 11.02.2011, 13:39
Re: [Help] Lock problem - by dice7 - 11.02.2011, 13:40
Re: [Help] Lock problem - by Jimbo01 - 11.02.2011, 13:42
Re: [Help] Lock problem - by Jimbo01 - 11.02.2011, 16:39

Forum Jump:


Users browsing this thread: 3 Guest(s)