Posts: 98
Threads: 30
Joined: Aug 2009
Reputation:
0
under onfilterscriptinit()
SetTimer("DelCar", 2000, 1);
at the top
forward DelCar();
I don't know much about what else to do...
I think maybe it has to do with
public onplayerexitvehicle (playerid, vehicleid)
Posts: 3,262
Threads: 30
Joined: Aug 2008
Reputation:
0
He could also use it in OnPlayerStateChange.
Posts: 98
Threads: 30
Joined: Aug 2009
Reputation:
0
OK, so I got this and it works:
public OnPlayerExitVehicle(playerid, vehicleid)
{
new currentveh;
currentveh = GetPlayerVehicleID(playerid);
DestroyVehicle(currentveh);
return 1;
}
but how can I make it work with onplayerstatechange? because I am a pretty new scripter, and after reading through more than 1 pawno manual it's still very confusing... im learning as i go though. i think i have onplayerexitvehicle down, but can someone help me out with using this script with onplayerstatechange?