Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerStateChange(playerid, newstate, oldstate)
- {
- new pname[24];
- GetPlayerName(playerid, pname, sizeof pname);
- if(newstate == PLAYER_STATE_DRIVER &&
- strcmp(pname, "Nome_do_Jogador", false) != 0
- GetVehicleModel(GetPlayerVehicleID(playerid)) == MODELO_ID)
- {
- RemovePlayerFromVehicle(playerid);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment