06.05.2013, 19:41
I got a problem this code doesnt lock the vehicles.
pawn Код:
if(vehicleinfo[key[vkey[playerid]]][Lock] == 1)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
SetVehicleParamsForPlayer(vkey[playerid],i,0,1);
vehicleinfo[key[vkey[playerid]]][Lock] = 1;
printf("test");
}
}