08.08.2009, 12:37
Hi i want to make a Paintnspray biz
If the player drive into paint spray they 100$ get to the PNS BIZ
else if(PlayerToPoint(2.0,i,1040.7855,-1021.7409,31.8312) || PlayerToPoint(2.0,i,-2722.4807,217.0514,4.1886))
{
if(IsPlayerInAnyVehicle(i))
{
SBizzInfo[5][sbTill] += 500;
ExtortionSBiz(5, 500);
SBizzInfo[5][sbProducts]--;
return 1;
}
}
But the most time they get much more than 100$ ... Anyone have a idea how to do that?
If the player drive into paint spray they 100$ get to the PNS BIZ
else if(PlayerToPoint(2.0,i,1040.7855,-1021.7409,31.8312) || PlayerToPoint(2.0,i,-2722.4807,217.0514,4.1886))
{
if(IsPlayerInAnyVehicle(i))
{
SBizzInfo[5][sbTill] += 500;
ExtortionSBiz(5, 500);
SBizzInfo[5][sbProducts]--;
return 1;
}
}
But the most time they get much more than 100$ ... Anyone have a idea how to do that?