How to remove "SetVehicleParamsForPlayer(vehicleid, playerid)"
#4

Quote:
Originally Posted by polygxn
View Post
Provide some code.
Here is the code:

Quote:

public OnPlayerExitVehicle(playerid, vehicleid)
{
if(IsInTMis[playerid]==1 && GetVehicleModel(vehicleid)==403)
{
pvtime[playerid] = 25;
pvtimer[playerid] = SetTimerEx("pvTimeDown", 1000, 1, "d", playerid);
SetPVarInt(playerid, "LastVehicle", vehicleid);
}
return 1;
}

Quote:

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(IsInTMis[playerid]==1 && GetVehicleModel(vehicleid)==514)
{
KillTimer(pvtimer[playerid]);
pvtime[playerid]=0;
SetVehicleParamsForPlayer(vid, playerid, 0, 0);
}

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)