16.06.2012, 10:34
Hello,
Since yesterday SetVehicleParamsForPlayer is not working anymore. I started happening after I updated to MySQL Plugin R7 (BlueG).
This is a small piece of script from a dialog. I get the message; cash gets taken off; the PVar gets set to 1; the only problem are the vehicle params. I am already streamed in for the vehicles (it's 1 meter behind them) so this should work. Even when I set 'VehicleInfo[vehicleid][Locked]" to 0, it still does NOT work.
Oh, the objective shows neither.
How can this happen? SA-MP bug?
Jochem
Since yesterday SetVehicleParamsForPlayer is not working anymore. I started happening after I updated to MySQL Plugin R7 (BlueG).
pawn Код:
if(!GetPVarInt(playerid,"DrivingLicense"))
{
SendClientMessage(playerid,COLOR_WHITE,"Teacher says: Go outside and take one of the Premiers to start your Driving Test.");
GivePlayerCash(playerid,-1500);
SetPVarInt(playerid,"IsInLicTest",1);
SetVehicleParamsForPlayer(LicenseVehicle[0],playerid,1,0);
SetVehicleParamsForPlayer(LicenseVehicle[1],playerid,1,0);
SetVehicleParamsForPlayer(LicenseVehicle[2],playerid,1,0);
}
else SendClientMessage(playerid,COLOR_LIGHTGREY,"You have already completed the Driving License test.");
Oh, the objective shows neither.
How can this happen? SA-MP bug?
Jochem