03.08.2010, 10:54
(
Последний раз редактировалось iggy1; 03.08.2010 в 10:57.
Причина: added else
)
pawn Код:
public OnVehicleStreamIn(vehicleid, forplayerid)
{
if(vehicleid == xxx)//cop vehicle ids here
{
if(GetPlayerSkin(forplayerid) != xxx)//copskin ids here
{
SetVehicleParamsForPlayer(vehicleid,forplayerid,1,1);
}
else
{
SetVehicleParamsForPlayer(vehicleid,forplayerid,1,0);
}
}
return 1;
}