29.09.2011, 06:26
Edit Sorry I got it LOL Dur..................
Код:
new PlayerName[24]; GetPlayerName(playerid, PlayerName, sizeof(PlayerName)); if(newstate == PLAYER_STATE_DRIVER) { new Vehicle = GetPlayerVehicleID(playerid); if(Vehicle == FiremanVehicle == PlayerInfo[playerid][pJob] >= 1) { if(strcmp(PlayerName,"FiremanVehicle",true)) { SendClientMessage(playerid, 0x33AA33AA, "You Are Not On Fire Duty"); RemovePlayerFromVehicle(playerid); } } }