31.05.2013, 00:43
(
Последний раз редактировалось [..MonTaNa..]; 18.01.2014 в 21:10.
)
Removed.
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_DRIVER)
{
if(GetPlayerVehicleID(playerid) == (youradmincarid)) //put your admin carid here
{
if(!IsPlayerAdmin(playerid)) // Your admin variable
{
new string[15];
RemovePlayerFromVehicle(playerid);
format(string, sizeof(string), "Ejected from admins car", vehicleid);
GameTextForPlayer(playerid, string, 3000, 1);
}
}
}
return 1;
}