21.07.2011, 03:38
pawn Код:
new lastvehicle[MAX_PLAYERS];
public OnPlayerConnect(playerid)
{
lastvehicle[playerid] = -1;
return 1;
}
public OnPlayerStateChange(playerid,newstate,oldstate)
{
if(newstate == 2)
{
// WANTED LEVEL here.
}
return 1;
}